Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009738/0.0009738, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000739/0.000739, allocations: 89.88 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3519/0.3519, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.503e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 58.86 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4652, allocations: 87.48 MB / 0.5583 GB, free: 16.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.4654, allocations: 74.44 kB / 0.5583 GB, free: 16.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01393/0.4794, allocations: 6.495 MB / 0.5647 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4794, allocations: 3.5 kB / 0.5647 GB, free: 12.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.4795, allocations: 8 kB / 0.5647 GB, free: 12.58 MB / 394.7 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.0004996/0.48, allocations: 0.594 MB / 0.5653 GB, free: 11.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.48, allocations: 12.03 kB / 0.5653 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.437e-05/0.4801, allocations: 54.78 kB / 0.5653 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.4807, allocations: 480.4 kB / 0.5658 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4808, allocations: 0 / 0.5658 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.4808, allocations: 11.92 kB / 0.5658 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.4809, allocations: 85.31 kB / 0.5659 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.4809, allocations: 0 / 0.5659 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.481, allocations: 1.375 kB / 0.5659 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.481, allocations: 4 kB / 0.5659 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.591e-05/0.481, allocations: 26.3 kB / 0.5659 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.4813, allocations: 389.5 kB / 0.5663 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4815, allocations: 98.97 kB / 0.5664 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.4815, allocations: 36.61 kB / 0.5664 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4815, allocations: 7.984 kB / 0.5664 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.4817, allocations: 106.5 kB / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4817, allocations: 0 / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002745/0.482, allocations: 169.5 kB / 0.5667 GB, free: 10.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.482, allocations: 81.09 kB / 0.5668 GB, free: 10.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000931/0.483, allocations: 0.9293 MB / 0.5677 GB, free: 9.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.483, allocations: 33.7 kB / 0.5677 GB, free: 9.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4831, allocations: 235.8 kB / 0.5679 GB, free: 9.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4831, allocations: 22.58 kB / 0.5679 GB, free: 9.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.4831, allocations: 6.688 kB / 0.5679 GB, free: 9.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.4832, allocations: 369.5 kB / 0.5683 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.4833, allocations: 23.06 kB / 0.5683 GB, free: 9.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/0.4833, allocations: 55.8 kB / 0.5684 GB, free: 9.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.164e-05/0.4834, allocations: 42.55 kB / 0.5684 GB, free: 9.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4834, allocations: 0 / 0.5684 GB, free: 9.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001896/0.4836, allocations: 163.8 kB / 0.5686 GB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.4836, allocations: 4 kB / 0.5686 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4836, allocations: 4 kB / 0.5686 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4836, allocations: 0 / 0.5686 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4838, allocations: 27.92 kB / 0.5686 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4838, allocations: 4.062 kB / 0.5686 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-05/0.4839, allocations: 22.89 kB / 0.5686 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.4839, allocations: 4 kB / 0.5686 GB, free: 8.879 MB / 394.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.4839, allocations: 115.5 kB / 0.5687 GB, free: 8.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.484, allocations: 54.38 kB / 0.5688 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.4843, allocations: 197.2 kB / 0.569 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4843, allocations: 0 / 0.569 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4843, allocations: 7.938 kB / 0.569 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4843, allocations: 7.984 kB / 0.569 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4845, allocations: 387.2 kB / 0.5694 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4846, allocations: 4.25 kB / 0.5694 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.4846, allocations: 15.98 kB / 0.5694 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4846, allocations: 3.938 kB / 0.5694 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4846, allocations: 7.562 kB / 0.5694 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4846, allocations: 0 / 0.5694 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4846, allocations: 0 / 0.5694 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.4849, allocations: 220.5 kB / 0.5696 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.485, allocations: 195.8 kB / 0.5698 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.4851, allocations: 4 kB / 0.5698 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.4852, allocations: 11.67 kB / 0.5698 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4853, allocations: 7.984 kB / 0.5698 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4853, allocations: 4 kB / 0.5698 GB, free: 7.699 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006164/0.4859, allocations: 0.7493 MB / 0.5706 GB, free: 7.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4859, allocations: 0 / 0.5706 GB, free: 7.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.4862, allocations: 87.55 kB / 0.5706 GB, free: 7.074 MB / 394.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000702/0.4869, allocations: 379.6 kB / 0.571 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.487, allocations: 77.17 kB / 0.5711 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.487, allocations: 3.438 kB / 0.5711 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.4871, allocations: 42.06 kB / 0.5711 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.4874, allocations: 74.45 kB / 0.5712 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.4883, allocations: 0.7785 MB / 0.5719 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4885, allocations: 0.8502 MB / 0.5728 GB, free: 5.047 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.4886, allocations: 89.88 kB / 0.5729 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.751e-05/0.4887, allocations: 45.81 kB / 0.5729 GB, free: 4.926 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4887, allocations: 0 / 0.5729 GB, free: 4.926 MB / 394.7 MB Notification: Performance of Templates: time 0.007232/0.496, allocations: 4.593 MB / 0.5774 GB, free: 356 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches