Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001594, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00113/0.00113, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2832/0.2832, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.572e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5658/0.6839, allocations: 87.84 MB / 0.5586 GB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.6843, allocations: 80.42 kB / 0.5587 GB, free: 15.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02625/0.7106, allocations: 5.76 MB / 0.5643 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7106, allocations: 3.938 kB / 0.5643 GB, free: 11.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.7107, allocations: 4 kB / 0.5643 GB, free: 11.13 MB / 378.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.0005748/0.7112, allocations: 388.6 kB / 0.5647 GB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.7113, allocations: 12.03 kB / 0.5647 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.7114, allocations: 7.906 kB / 0.5647 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.7118, allocations: 215.5 kB / 0.5649 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.7118, allocations: 4 kB / 0.5649 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.7118, allocations: 0 / 0.5649 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.712, allocations: 69.52 kB / 0.565 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.7121, allocations: 0 / 0.565 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.7121, allocations: 0 / 0.565 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.7121, allocations: 0 / 0.565 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.474e-05/0.7122, allocations: 23.38 kB / 0.565 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.7127, allocations: 291.7 kB / 0.5653 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.7129, allocations: 52.69 kB / 0.5653 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.713, allocations: 16.17 kB / 0.5653 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.713, allocations: 0 / 0.5653 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.7132, allocations: 80.7 kB / 0.5654 GB, free: 9.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.68e-06/0.7132, allocations: 0 / 0.5654 GB, free: 9.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006315/0.7139, allocations: 159.2 kB / 0.5656 GB, free: 9.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.714, allocations: 81.11 kB / 0.5656 GB, free: 9.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.7142, allocations: 141.6 kB / 0.5658 GB, free: 9.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.7142, allocations: 25.7 kB / 0.5658 GB, free: 9.504 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.7143, allocations: 157.1 kB / 0.5659 GB, free: 9.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.7144, allocations: 27.09 kB / 0.566 GB, free: 9.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.7144, allocations: 4 kB / 0.566 GB, free: 9.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7145, allocations: 317.9 kB / 0.5663 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/0.7146, allocations: 19.31 kB / 0.5663 GB, free: 9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.7147, allocations: 41.58 kB / 0.5663 GB, free: 8.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.7148, allocations: 22.92 kB / 0.5664 GB, free: 8.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7148, allocations: 32 / 0.5664 GB, free: 8.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002391/0.7151, allocations: 92.56 kB / 0.5664 GB, free: 8.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.7151, allocations: 11.95 kB / 0.5665 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7151, allocations: 0 / 0.5665 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7151, allocations: 0 / 0.5665 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.7153, allocations: 15.98 kB / 0.5665 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.7153, allocations: 7.938 kB / 0.5665 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.7154, allocations: 0 / 0.5665 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.7155, allocations: 4.156 kB / 0.5665 GB, free: 8.824 MB / 378.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 () * 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.0001081/0.7156, allocations: 118.4 kB / 0.5666 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.7156, allocations: 7.906 kB / 0.5666 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.716, allocations: 129.7 kB / 0.5667 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.716, allocations: 0 / 0.5667 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.716, allocations: 0 / 0.5667 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.716, allocations: 0 / 0.5667 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.7167, allocations: 393.4 kB / 0.5671 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.7167, allocations: 7.953 kB / 0.5671 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.7168, allocations: 12.03 kB / 0.5671 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.7168, allocations: 0 / 0.5671 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.7168, allocations: 7.938 kB / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7169, allocations: 0 / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7169, allocations: 0 / 0.5671 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.7172, allocations: 215.5 kB / 0.5673 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.7173, allocations: 96.62 kB / 0.5674 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.7173, allocations: 0 / 0.5674 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.7175, allocations: 7.938 kB / 0.5674 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.7175, allocations: 11.97 kB / 0.5674 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.7176, allocations: 3.125 kB / 0.5674 GB, free: 7.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.7177, allocations: 125.8 kB / 0.5676 GB, free: 7.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7177, allocations: 0 / 0.5676 GB, free: 7.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.7181, allocations: 43.59 kB / 0.5676 GB, free: 7.668 MB / 378.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) * 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.001418/0.7196, allocations: 456 kB / 0.568 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.7199, allocations: 66.3 kB / 0.5681 GB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7199, allocations: 0 / 0.5681 GB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/0.72, allocations: 31.53 kB / 0.5681 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.7204, allocations: 39.47 kB / 0.5682 GB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.7209, allocations: 159 kB / 0.5683 GB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.7213, allocations: 0.7006 MB / 0.569 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.7214, allocations: 23.36 kB / 0.569 GB, free: 6.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7214, allocations: 4 kB / 0.569 GB, free: 6.246 MB / 378.7 MB Notification: Performance of Templates: time 0.006062/0.7275, allocations: 2.059 MB / 0.571 GB, free: 4.195 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches