Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 104.5 kB / 16.27 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 186.1 kB / 17.19 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2408/0.2408, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 73.78 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1318, allocations: 57.78 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002858/0.1347, allocations: 1.693 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1358, allocations: 0.7922 MB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.1359, allocations: 0 / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1362, allocations: 55.75 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.1366, allocations: 51.77 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1369, allocations: 83.7 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.137, allocations: 95.75 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1371, allocations: 8.453 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.36e-05/0.1372, allocations: 43.78 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.1373, allocations: 35.84 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1373, allocations: 4 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1374, allocations: 39.98 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1375, allocations: 19.92 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.823e-05/0.1375, allocations: 35.73 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1378, allocations: 111.6 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1378, allocations: 0 / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1378, allocations: 0 / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1378, allocations: 0 / 443.6 MB, free: 3.828 MB / 318.1 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.0004812/0.1383, allocations: 430.9 kB / 444 MB, free: 3.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1383, allocations: 15.83 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.1384, allocations: 12.84 kB / 444 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1386, allocations: 204.7 kB / 444.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1386, allocations: 4.375 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1386, allocations: 8.125 kB / 444.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1388, allocations: 49.67 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1388, allocations: 0 / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1388, allocations: 8 kB / 444.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1388, allocations: 4 kB / 444.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.1389, allocations: 19.92 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.1393, allocations: 284.9 kB / 444.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1394, allocations: 58.67 kB / 444.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.1395, allocations: 24.8 kB / 444.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1395, allocations: 7.984 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.1397, allocations: 71.33 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1397, allocations: 0 / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005046/0.1402, allocations: 173.1 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.1402, allocations: 55.39 kB / 445 MB, free: 2.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1404, allocations: 203.3 kB / 445.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1404, allocations: 29.7 kB / 445.2 MB, free: 2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.1405, allocations: 104 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1405, allocations: 19.73 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1405, allocations: 25.72 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.1406, allocations: 326.8 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1407, allocations: 19.98 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.1407, allocations: 37.7 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.391e-05/0.1408, allocations: 65.7 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1408, allocations: 0 / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001609/0.141, allocations: 109.4 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.141, allocations: 4 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.141, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1411, allocations: 4 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.1412, allocations: 15.98 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1412, allocations: 0 / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.1412, allocations: 15.91 kB / 445.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.1412, allocations: 3.984 kB / 446 MB, free: 1.227 MB / 318.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.1413, allocations: 133.8 kB / 446.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.1414, allocations: 11.81 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.1414, allocations: 21.39 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1414, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1414, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1414, allocations: 3.938 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.1417, allocations: 391.3 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1418, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.1418, allocations: 11.94 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1418, allocations: 0 / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1418, allocations: 12.3 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1418, allocations: 0 / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1418, allocations: 192 / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.142, allocations: 208.3 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.142, allocations: 92.86 kB / 446.8 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1421, allocations: 7.938 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.1421, allocations: 4 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.1422, allocations: 7.984 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1422, allocations: 3.938 kB / 446.8 MB, free: 232 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.1423, allocations: 152.9 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1423, allocations: 4 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1426, allocations: 20 kB / 447 MB, free: 56 kB / 318.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.1436, allocations: 465.3 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1438, allocations: 71.91 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1438, allocations: 0 / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.293e-05/0.1439, allocations: 27.98 kB / 447.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1442, allocations: 27.97 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005199/0.1448, allocations: 227.4 kB / 447.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1451, allocations: 0.7041 MB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.1452, allocations: 12.88 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.1452, allocations: 23.42 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1452, allocations: 0 / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of Templates: time 0.004386/0.1496, allocations: 1.701 MB / 450.3 MB, free: 12.85 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches