Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 181.6 kB / 17.41 MB, free: 4.406 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.472/1.472, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008385/0.0008386, allocations: 89.41 kB / 271.9 MB, free: 8.25 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.42/0.42, allocations: 43.56 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004466, allocations: 23.98 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5624, allocations: 87.75 MB / 0.5656 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.5627, allocations: 74.34 kB / 0.5657 GB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.5778, allocations: 5.452 MB / 0.571 GB, free: 9.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5779, allocations: 0 / 0.571 GB, free: 9.191 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.5779, allocations: 8 kB / 0.571 GB, free: 9.184 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005551/0.5784, allocations: 411.2 kB / 0.5714 GB, free: 8.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5785, allocations: 12.03 kB / 0.5714 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.5785, allocations: 16.73 kB / 0.5715 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.5788, allocations: 224.7 kB / 0.5717 GB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5789, allocations: 8.375 kB / 0.5717 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.5789, allocations: 384 / 0.5717 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.5791, allocations: 59.92 kB / 0.5717 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5791, allocations: 192 / 0.5717 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.5791, allocations: 7.938 kB / 0.5717 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5791, allocations: 0 / 0.5717 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.5792, allocations: 19.98 kB / 0.5718 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.5796, allocations: 300.8 kB / 0.572 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.5798, allocations: 58.61 kB / 0.5721 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.5799, allocations: 20.86 kB / 0.5721 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.5799, allocations: 4 kB / 0.5721 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.5801, allocations: 75.22 kB / 0.5722 GB, free: 7.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5801, allocations: 0 / 0.5722 GB, free: 7.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006066/0.5807, allocations: 185.1 kB / 0.5724 GB, free: 7.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.5807, allocations: 51.41 kB / 0.5724 GB, free: 7.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.581, allocations: 197.7 kB / 0.5726 GB, free: 7.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.581, allocations: 29.7 kB / 0.5726 GB, free: 7.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.5811, allocations: 100.1 kB / 0.5727 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.5811, allocations: 27.64 kB / 0.5728 GB, free: 7.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5811, allocations: 8 kB / 0.5728 GB, free: 7.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5813, allocations: 329.2 kB / 0.5731 GB, free: 6.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.5813, allocations: 19.98 kB / 0.5731 GB, free: 6.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.625e-05/0.5814, allocations: 37.7 kB / 0.5731 GB, free: 6.809 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.5816, allocations: 58.44 kB / 0.5732 GB, free: 6.746 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5816, allocations: 0 / 0.5732 GB, free: 6.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.5818, allocations: 109.6 kB / 0.5733 GB, free: 6.633 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5818, allocations: 4 kB / 0.5733 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5818, allocations: 0 / 0.5733 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5818, allocations: 4 kB / 0.5733 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.5819, allocations: 19.92 kB / 0.5733 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5819, allocations: 0 / 0.5733 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.582, allocations: 4 kB / 0.5733 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.582, allocations: 4 kB / 0.5733 GB, free: 6.598 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001327/0.5822, allocations: 140.6 kB / 0.5735 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.5822, allocations: 15.81 kB / 0.5735 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.5825, allocations: 119.2 kB / 0.5736 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5825, allocations: 96 / 0.5736 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5825, allocations: 3.938 kB / 0.5736 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5825, allocations: 0 / 0.5736 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.583, allocations: 419.2 kB / 0.574 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5831, allocations: 4.031 kB / 0.574 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.5831, allocations: 8.375 kB / 0.574 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5831, allocations: 0 / 0.574 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.5831, allocations: 15.92 kB / 0.574 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5831, allocations: 4 kB / 0.574 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5832, allocations: 7.875 kB / 0.574 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.5834, allocations: 204.2 kB / 0.5742 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.5835, allocations: 97 kB / 0.5743 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.5835, allocations: 7.938 kB / 0.5743 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.5836, allocations: 4 kB / 0.5743 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.5837, allocations: 15.91 kB / 0.5744 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5837, allocations: 4 kB / 0.5744 GB, free: 5.441 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.5838, allocations: 152.9 kB / 0.5745 GB, free: 5.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5838, allocations: 4 kB / 0.5745 GB, free: 5.289 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.5841, allocations: 31.94 kB / 0.5745 GB, free: 5.258 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001168/0.5853, allocations: 469.7 kB / 0.575 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.5855, allocations: 67.84 kB / 0.575 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5855, allocations: 0 / 0.575 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.978e-05/0.5856, allocations: 39.98 kB / 0.5751 GB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.586, allocations: 25.31 kB / 0.5751 GB, free: 4.762 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.5866, allocations: 286.1 kB / 0.5754 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.5869, allocations: 0.7083 MB / 0.5761 GB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.5869, allocations: 19.42 kB / 0.5761 GB, free: 3.703 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.587, allocations: 0 / 0.5761 GB, free: 3.703 MB / 394.7 MB Notification: Performance of Templates: time 0.004063/0.591, allocations: 1.959 MB / 0.578 GB, free: 1.754 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches