Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 171.9 kB / 16.76 MB, free: 4.934 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.718/1.718, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007805/0.0007808, allocations: 91.7 kB / 271.3 MB, free: 8.242 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.3993/0.3993, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004198, allocations: 16 kB / 432.6 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1454, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4892, allocations: 87.8 MB / 0.5657 GB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.4896, allocations: 81.36 kB / 0.5658 GB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01764/0.5072, allocations: 5.865 MB / 0.5715 GB, free: 8.137 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.606e-06/0.5073, allocations: 8 kB / 0.5715 GB, free: 8.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.5073, allocations: 0 / 0.5715 GB, free: 8.129 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.0007189/0.508, allocations: 469.7 kB / 0.572 GB, free: 7.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5081, allocations: 11.97 kB / 0.572 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.5082, allocations: 16.75 kB / 0.572 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.5086, allocations: 253.8 kB / 0.5722 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.5086, allocations: 12.38 kB / 0.5722 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.5087, allocations: 4.375 kB / 0.5722 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.5089, allocations: 93.64 kB / 0.5723 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.5089, allocations: 4.188 kB / 0.5723 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.5089, allocations: 3.938 kB / 0.5723 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.5089, allocations: 0 / 0.5723 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.5091, allocations: 43.91 kB / 0.5724 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.5094, allocations: 218.4 kB / 0.5726 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.5097, allocations: 109.2 kB / 0.5727 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.5098, allocations: 41.7 kB / 0.5727 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.5098, allocations: 0 / 0.5727 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.51, allocations: 113 kB / 0.5728 GB, free: 6.566 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.51, allocations: 0 / 0.5728 GB, free: 6.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000458/0.5105, allocations: 173.4 kB / 0.573 GB, free: 6.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.5106, allocations: 140.5 kB / 0.5731 GB, free: 6.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.5109, allocations: 215.8 kB / 0.5734 GB, free: 6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.5109, allocations: 29.7 kB / 0.5734 GB, free: 5.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.511, allocations: 112.1 kB / 0.5735 GB, free: 5.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.511, allocations: 27.69 kB / 0.5735 GB, free: 5.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.5111, allocations: 0 / 0.5735 GB, free: 5.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5112, allocations: 331.6 kB / 0.5738 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.5113, allocations: 31.97 kB / 0.5739 GB, free: 5.461 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.5114, allocations: 69.64 kB / 0.5739 GB, free: 5.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.5116, allocations: 95.38 kB / 0.574 GB, free: 5.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5116, allocations: 0 / 0.574 GB, free: 5.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002761/0.5119, allocations: 142 kB / 0.5742 GB, free: 5.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.5119, allocations: 11.94 kB / 0.5742 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5119, allocations: 3.938 kB / 0.5742 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.512, allocations: 3.938 kB / 0.5742 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.5121, allocations: 27.92 kB / 0.5742 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5121, allocations: 0 / 0.5742 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.5122, allocations: 19.91 kB / 0.5742 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5122, allocations: 8 kB / 0.5742 GB, free: 5.051 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.5123, allocations: 129.8 kB / 0.5743 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.5124, allocations: 19.75 kB / 0.5744 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.5127, allocations: 162.6 kB / 0.5745 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5127, allocations: 3.984 kB / 0.5745 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5127, allocations: 0 / 0.5745 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5128, allocations: 0 / 0.5745 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.513, allocations: 233.4 kB / 0.5747 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.513, allocations: 0 / 0.5747 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.513, allocations: 15.98 kB / 0.5748 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.513, allocations: 3.938 kB / 0.5748 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5131, allocations: 4 kB / 0.5748 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.5131, allocations: 4 kB / 0.5748 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5131, allocations: 0 / 0.5748 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.5134, allocations: 186.6 kB / 0.575 GB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.5135, allocations: 96.91 kB / 0.575 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.5136, allocations: 11.88 kB / 0.5751 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.5136, allocations: 11.98 kB / 0.5751 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.5137, allocations: 8.172 kB / 0.5751 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.5137, allocations: 8 kB / 0.5751 GB, free: 4.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.5139, allocations: 169.5 kB / 0.5752 GB, free: 3.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5139, allocations: 0 / 0.5752 GB, free: 3.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.5142, allocations: 48 kB / 0.5753 GB, free: 3.859 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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 (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.001047/0.5152, allocations: 455.1 kB / 0.5757 GB, free: 3.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.5155, allocations: 87.91 kB / 0.5758 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5155, allocations: 128 / 0.5758 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.5156, allocations: 55.91 kB / 0.5759 GB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.516, allocations: 57.84 kB / 0.5759 GB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.5166, allocations: 293.3 kB / 0.5762 GB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.5169, allocations: 0.7205 MB / 0.5769 GB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5171, allocations: 25.55 kB / 0.5769 GB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.5171, allocations: 27.42 kB / 0.577 GB, free: 2.211 MB / 394.7 MB Notification: Performance of SimCode: time 4.298e-06/0.5171, allocations: 0 / 0.577 GB, free: 2.211 MB / 394.7 MB Notification: Performance of Templates: time 0.005975/0.5231, allocations: 2.568 MB / 0.5795 GB, free: 15.65 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches