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.001513/0.001513, allocations: 186 kB / 16.4 MB, free: 5.746 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.972/1.972, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001106/0.001106, allocations: 93.98 kB / 270.9 MB, free: 8.379 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.506/0.506, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 12 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5851, allocations: 87.71 MB / 0.5644 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004274/0.5856, allocations: 79.95 kB / 0.5645 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03158/0.6172, allocations: 5.819 MB / 0.5701 GB, free: 9.012 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6173, allocations: 0 / 0.5701 GB, free: 9.012 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.6173, allocations: 8 kB / 0.5702 GB, free: 9.004 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.0006545/0.618, allocations: 420.9 kB / 0.5706 GB, free: 8.547 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.618, allocations: 12.56 kB / 0.5706 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.6181, allocations: 15.25 kB / 0.5706 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.6185, allocations: 223.5 kB / 0.5708 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.6185, allocations: 0 / 0.5708 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.6186, allocations: 8 kB / 0.5708 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.6188, allocations: 71.02 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6188, allocations: 4 kB / 0.5709 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.6188, allocations: 3.984 kB / 0.5709 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6189, allocations: 1.031 kB / 0.5709 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.6191, allocations: 47.97 kB / 0.5709 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.6196, allocations: 328.6 kB / 0.5712 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.62, allocations: 86.59 kB / 0.5713 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.62, allocations: 4.234 kB / 0.5713 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.6203, allocations: 83.36 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 4.328e-06/0.6203, allocations: 0 / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009699/0.6213, allocations: 243.6 kB / 0.5716 GB, free: 7.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.6214, allocations: 55.36 kB / 0.5717 GB, free: 7.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.6216, allocations: 176.8 kB / 0.5719 GB, free: 7.074 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.6217, allocations: 29.7 kB / 0.5719 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.6218, allocations: 162.8 kB / 0.572 GB, free: 6.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.6218, allocations: 35.55 kB / 0.5721 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.6219, allocations: 8 kB / 0.5721 GB, free: 6.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.622, allocations: 310.8 kB / 0.5724 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.6221, allocations: 31.98 kB / 0.5724 GB, free: 6.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.6223, allocations: 50.45 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.6224, allocations: 32 kB / 0.5725 GB, free: 6.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6224, allocations: 0 / 0.5725 GB, free: 6.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003774/0.6228, allocations: 133.5 kB / 0.5726 GB, free: 6.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6229, allocations: 4 kB / 0.5726 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6229, allocations: 1.125 kB / 0.5726 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.6229, allocations: 4 kB / 0.5726 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.6231, allocations: 23.92 kB / 0.5726 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6231, allocations: 0.875 kB / 0.5726 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.6232, allocations: 11.95 kB / 0.5727 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.6232, allocations: 0 / 0.5727 GB, free: 6.223 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 (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 0.0001356/0.6234, allocations: 129.8 kB / 0.5728 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.6234, allocations: 11.91 kB / 0.5728 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.6239, allocations: 174.5 kB / 0.573 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.624, allocations: 4 kB / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.624, allocations: 0 / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.624, allocations: 0 / 0.573 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.6248, allocations: 479.9 kB / 0.5734 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6249, allocations: 8.031 kB / 0.5734 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.625, allocations: 19.92 kB / 0.5734 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.625, allocations: 0 / 0.5734 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.625, allocations: 8 kB / 0.5735 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6251, allocations: 3.953 kB / 0.5735 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6251, allocations: 0 / 0.5735 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.6255, allocations: 265.8 kB / 0.5737 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.6256, allocations: 89.02 kB / 0.5738 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.6257, allocations: 7.953 kB / 0.5738 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.6258, allocations: 11.98 kB / 0.5738 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.6259, allocations: 7.984 kB / 0.5738 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.6259, allocations: 4 kB / 0.5738 GB, free: 4.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.6261, allocations: 148.9 kB / 0.574 GB, free: 4.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6261, allocations: 0 / 0.574 GB, free: 4.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003834/0.6265, allocations: 43.94 kB / 0.574 GB, free: 4.727 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 (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.001375/0.6279, allocations: 474.8 kB / 0.5745 GB, free: 4.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.6283, allocations: 87.95 kB / 0.5746 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6283, allocations: 4.062 kB / 0.5746 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.6285, allocations: 55.84 kB / 0.5746 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.6289, allocations: 23.98 kB / 0.5746 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/0.6296, allocations: 322.6 kB / 0.5749 GB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.6299, allocations: 0.7121 MB / 0.5756 GB, free: 3.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.63, allocations: 19.42 kB / 0.5757 GB, free: 3.09 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.63, allocations: 0 / 0.5757 GB, free: 3.09 MB / 394.7 MB Notification: Performance of Templates: time 0.005794/0.6358, allocations: 2.169 MB / 0.5778 GB, free: 0.9336 MB / 394.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