Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 180.9 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.602/1.602, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.000755/0.0007549, allocations: 90.36 kB / 271.9 MB, free: 8.258 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.4123/0.4123, allocations: 43.56 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 16 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4982, allocations: 87.75 MB / 0.5656 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4985, allocations: 79.95 kB / 0.5657 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.5135, allocations: 5.423 MB / 0.571 GB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5136, allocations: 0 / 0.571 GB, free: 9.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.5137, allocations: 16 kB / 0.571 GB, free: 9.191 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.0005984/0.5143, allocations: 418 kB / 0.5714 GB, free: 8.734 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5143, allocations: 12.02 kB / 0.5714 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.5144, allocations: 12.75 kB / 0.5714 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.5147, allocations: 219.6 kB / 0.5717 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.5147, allocations: 4.375 kB / 0.5717 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.5148, allocations: 384 / 0.5717 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.5149, allocations: 58.23 kB / 0.5717 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5149, allocations: 6.875 kB / 0.5717 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.515, allocations: 3.938 kB / 0.5717 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.515, allocations: 0 / 0.5717 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.5151, allocations: 23.92 kB / 0.5717 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.5155, allocations: 292.9 kB / 0.572 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.5157, allocations: 66.61 kB / 0.5721 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.5157, allocations: 20.86 kB / 0.5721 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.5158, allocations: 0 / 0.5721 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.5159, allocations: 75.22 kB / 0.5722 GB, free: 7.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5159, allocations: 4 kB / 0.5722 GB, free: 7.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.5165, allocations: 177.1 kB / 0.5724 GB, free: 7.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.5166, allocations: 59.41 kB / 0.5724 GB, free: 7.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.5168, allocations: 193.7 kB / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.5168, allocations: 29.7 kB / 0.5726 GB, free: 7.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.5169, allocations: 104.1 kB / 0.5727 GB, free: 7.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.5169, allocations: 27.64 kB / 0.5727 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.5169, allocations: 4 kB / 0.5728 GB, free: 7.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5171, allocations: 326.8 kB / 0.5731 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.5172, allocations: 19.98 kB / 0.5731 GB, free: 6.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.7e-05/0.5172, allocations: 41.7 kB / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5174, allocations: 53.66 kB / 0.5732 GB, free: 6.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5174, allocations: 1.031 kB / 0.5732 GB, free: 6.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.5176, allocations: 106.3 kB / 0.5733 GB, free: 6.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5176, allocations: 4 kB / 0.5733 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5176, allocations: 4 kB / 0.5733 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5176, allocations: 32 / 0.5733 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.18e-05/0.5177, allocations: 23.92 kB / 0.5733 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5178, allocations: 0 / 0.5733 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.5178, allocations: 8.562 kB / 0.5733 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5178, allocations: 4.156 kB / 0.5733 GB, free: 6.609 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.0001113/0.5179, allocations: 130.5 kB / 0.5734 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.518, allocations: 15.81 kB / 0.5735 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.5182, allocations: 127.1 kB / 0.5736 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5183, allocations: 4 kB / 0.5736 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5183, allocations: 4.359 kB / 0.5736 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.5183, allocations: 0 / 0.5736 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.5187, allocations: 419.2 kB / 0.574 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5188, allocations: 4 kB / 0.574 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.5188, allocations: 12 kB / 0.574 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5188, allocations: 3.938 kB / 0.574 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.5188, allocations: 7.984 kB / 0.574 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5188, allocations: 4.031 kB / 0.574 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.5189, allocations: 7.875 kB / 0.574 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.5191, allocations: 204.2 kB / 0.5742 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.5192, allocations: 97 kB / 0.5743 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.5192, allocations: 3.938 kB / 0.5743 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.5193, allocations: 4 kB / 0.5743 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.5193, allocations: 15.92 kB / 0.5743 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.5193, allocations: 8 kB / 0.5743 GB, free: 5.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.5195, allocations: 152.9 kB / 0.5745 GB, free: 5.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5195, allocations: 0 / 0.5745 GB, free: 5.301 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.5198, allocations: 31.94 kB / 0.5745 GB, free: 5.27 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.001055/0.5208, allocations: 481.6 kB / 0.575 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.521, allocations: 59.92 kB / 0.575 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.521, allocations: 0 / 0.575 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.5211, allocations: 35.92 kB / 0.5751 GB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.5215, allocations: 27.97 kB / 0.5751 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.522, allocations: 286.2 kB / 0.5754 GB, free: 4.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5223, allocations: 0.7083 MB / 0.5761 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.5224, allocations: 19.42 kB / 0.5761 GB, free: 3.715 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5224, allocations: 0 / 0.5761 GB, free: 3.715 MB / 394.7 MB Notification: Performance of Templates: time 0.003656/0.526, allocations: 1.957 MB / 0.578 GB, free: 1.77 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches