Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0022/0.0022, allocations: 182.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.016/2.016, 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.001104/0.001104, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2739/0.2739, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.429e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.5844, allocations: 87.61 MB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5848, allocations: 77.73 kB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02493/0.6097, allocations: 5.802 MB / 0.5641 GB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6098, allocations: 4 kB / 0.5641 GB, free: 11.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.6098, allocations: 4 kB / 0.5641 GB, free: 11.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005765/0.6104, allocations: 397.4 kB / 0.5645 GB, free: 10.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.6104, allocations: 8.031 kB / 0.5645 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.6105, allocations: 15.75 kB / 0.5645 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.6109, allocations: 225.6 kB / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.6109, allocations: 4 kB / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.611, allocations: 0 / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.6112, allocations: 69.8 kB / 0.5648 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6112, allocations: 0 / 0.5648 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.6112, allocations: 3.984 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6112, allocations: 4 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.6114, allocations: 48.41 kB / 0.5648 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.612, allocations: 322.6 kB / 0.5652 GB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.6122, allocations: 89.17 kB / 0.5652 GB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.6123, allocations: 30.53 kB / 0.5653 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.6124, allocations: 0 / 0.5653 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.6126, allocations: 82.94 kB / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.6126, allocations: 0 / 0.5653 GB, free: 9.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007794/0.6134, allocations: 213.1 kB / 0.5656 GB, free: 9.523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.6134, allocations: 51.41 kB / 0.5656 GB, free: 9.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.6137, allocations: 180.4 kB / 0.5658 GB, free: 9.293 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.6138, allocations: 29.2 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.6139, allocations: 165.9 kB / 0.566 GB, free: 9.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.6139, allocations: 35.52 kB / 0.566 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.6139, allocations: 0 / 0.566 GB, free: 9.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6141, allocations: 318.5 kB / 0.5663 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.6142, allocations: 30.92 kB / 0.5663 GB, free: 8.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.6143, allocations: 44.72 kB / 0.5664 GB, free: 8.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.6144, allocations: 50.88 kB / 0.5664 GB, free: 8.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6144, allocations: 0 / 0.5664 GB, free: 8.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002933/0.6147, allocations: 123.1 kB / 0.5665 GB, free: 8.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6148, allocations: 4 kB / 0.5665 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6148, allocations: 0 / 0.5665 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6148, allocations: 7.984 kB / 0.5665 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.615, allocations: 19.98 kB / 0.5666 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.615, allocations: 3.953 kB / 0.5666 GB, free: 8.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.6151, allocations: 8.031 kB / 0.5666 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.6152, allocations: 0 / 0.5666 GB, free: 8.516 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 (12): * Single equations (assignments): 12 * 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 9.809e-05/0.6153, allocations: 112.5 kB / 0.5667 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.6153, allocations: 11.91 kB / 0.5667 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.6158, allocations: 163.8 kB / 0.5669 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6158, allocations: 0 / 0.5669 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6158, allocations: 0 / 0.5669 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.6158, allocations: 3.953 kB / 0.5669 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.6166, allocations: 468.7 kB / 0.5673 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6166, allocations: 0 / 0.5673 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6167, allocations: 15.98 kB / 0.5673 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6167, allocations: 7.938 kB / 0.5673 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.6168, allocations: 3.25 kB / 0.5673 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.6168, allocations: 7.953 kB / 0.5673 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6168, allocations: 0 / 0.5673 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.6172, allocations: 251.9 kB / 0.5676 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.6173, allocations: 93 kB / 0.5677 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.6174, allocations: 7.516 kB / 0.5677 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6175, allocations: 4 kB / 0.5677 GB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.6176, allocations: 11.48 kB / 0.5677 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.6176, allocations: 4 kB / 0.5677 GB, free: 7.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.6178, allocations: 154.3 kB / 0.5678 GB, free: 7.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6178, allocations: 3.938 kB / 0.5678 GB, free: 7.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003701/0.6182, allocations: 39.44 kB / 0.5679 GB, free: 7.223 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 (13): * Single equations (assignments): 11 * 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.001269/0.6195, allocations: 439.6 kB / 0.5683 GB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.6197, allocations: 83.17 kB / 0.5684 GB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6198, allocations: 0 / 0.5684 GB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.6199, allocations: 48.25 kB / 0.5684 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.6203, allocations: 35.69 kB / 0.5685 GB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.6209, allocations: 213.1 kB / 0.5687 GB, free: 6.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.6213, allocations: 0.7198 MB / 0.5694 GB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.6214, allocations: 19.42 kB / 0.5694 GB, free: 5.754 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6214, allocations: 0 / 0.5694 GB, free: 5.754 MB / 378.7 MB Notification: Performance of Templates: time 0.005931/0.6273, allocations: 2.162 MB / 0.5715 GB, free: 3.602 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches