Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002062/0.002062, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002307, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.92 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 83.84 kB / 0.4963 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2985, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003163/0.3017, allocations: 1.838 MB / 0.5626 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.3035, allocations: 1.119 MB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.3036, allocations: 7.938 kB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.3041, allocations: 303.3 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.3046, allocations: 259.2 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3048, allocations: 103.7 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.3052, allocations: 267.2 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.3052, allocations: 13.81 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.3054, allocations: 139.5 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.3057, allocations: 223.5 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.3057, allocations: 8 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3058, allocations: 43.94 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.306, allocations: 139.6 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.3061, allocations: 150.8 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004414/0.3065, allocations: 383.9 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3066, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3066, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3066, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009951/0.3076, allocations: 0.6863 MB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3076, allocations: 12.03 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.3076, allocations: 30.75 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.3077, allocations: 52.61 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.3084, allocations: 406.4 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3084, allocations: 4.375 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3084, allocations: 384 / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.3087, allocations: 99.48 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3087, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3087, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3087, allocations: 0 / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3088, allocations: 35.91 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.3092, allocations: 349.4 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.3095, allocations: 105.2 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.357e-05/0.3096, allocations: 37.64 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3096, allocations: 11.97 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.3098, allocations: 113 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3098, allocations: 0 / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004858/0.3103, allocations: 197.2 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.3104, allocations: 81.11 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3116, allocations: 1.058 MB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.3116, allocations: 33.7 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3118, allocations: 240 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.3118, allocations: 27.8 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.3119, allocations: 25.72 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.3121, allocations: 370.8 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.3122, allocations: 35.97 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3123, allocations: 58.55 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.3124, allocations: 91.34 kB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3125, allocations: 0 / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003057/0.3128, allocations: 177.1 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3128, allocations: 4 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3128, allocations: 4.688 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3128, allocations: 4 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3129, allocations: 23.92 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3129, allocations: 4 kB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.313, allocations: 11.94 kB / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.313, allocations: 11.98 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.3133, allocations: 216 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-05/0.3133, allocations: 55.56 kB / 0.5701 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.3137, allocations: 209.8 kB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3137, allocations: 3.984 kB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3137, allocations: 0 / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3137, allocations: 4 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.3141, allocations: 316.5 kB / 0.5706 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3141, allocations: 7.938 kB / 0.5706 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.3141, allocations: 11.94 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3141, allocations: 0 / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3141, allocations: 7.984 kB / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3141, allocations: 4 kB / 0.5707 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3141, allocations: 0 / 0.5707 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.3145, allocations: 209.5 kB / 0.5709 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.3146, allocations: 71.53 kB / 0.5709 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.3147, allocations: 8 kB / 0.5709 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.3148, allocations: 7.922 kB / 0.571 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3148, allocations: 11.98 kB / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.3148, allocations: 12 kB / 0.571 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000891/0.3157, allocations: 0.7838 MB / 0.5717 GB, free: 8.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3157, allocations: 0 / 0.5717 GB, free: 8.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.316, allocations: 43.98 kB / 0.5718 GB, free: 8.641 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00207/0.3181, allocations: 1.056 MB / 0.5728 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.3183, allocations: 79.89 kB / 0.5729 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.247e-06/0.3183, allocations: 4 kB / 0.5729 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3184, allocations: 35.92 kB / 0.5729 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3189, allocations: 76.45 kB / 0.573 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/0.3248, allocations: 4.575 MB / 0.5775 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.3253, allocations: 0.8507 MB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.3254, allocations: 58.94 kB / 0.5784 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.3256, allocations: 155.4 kB / 0.5785 GB, free: 1.738 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3256, allocations: 3.938 kB / 0.5785 GB, free: 1.734 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.3615, allocations: 9.37 MB / 0.5877 GB, free: 8.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.16, allocations: 8.062 kB / 0.5877 GB, free: 8.391 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.246275597019121]