Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 106.2 kB / 16.27 MB, free: 5.93 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.001682/0.001682, allocations: 189.9 kB / 17.2 MB, free: 5.574 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.723/1.723, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2414/0.2414, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.00151/0.00151, allocations: 67.66 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.135, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003976/0.1391, allocations: 1.697 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1407, allocations: 0.7922 MB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.141, allocations: 0 / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005608/0.1416, allocations: 43.83 kB / 443.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.1419, allocations: 51.7 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1423, allocations: 83.77 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1425, allocations: 95.69 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1426, allocations: 8.516 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.644e-05/0.1427, allocations: 39.8 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.1428, allocations: 27.84 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1429, allocations: 8 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.143, allocations: 47.92 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.143, allocations: 15.92 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.1431, allocations: 35.78 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1433, allocations: 103.7 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1434, allocations: 0 / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1434, allocations: 0 / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1434, allocations: 0 / 443.6 MB, free: 3.844 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.0006574/0.144, allocations: 407 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.1441, allocations: 15.89 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1442, allocations: 12.84 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1444, allocations: 204.6 kB / 444.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1444, allocations: 11.92 kB / 444.2 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.1445, allocations: 4 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1446, allocations: 53.67 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1446, allocations: 0 / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1447, allocations: 4 kB / 444.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1447, allocations: 0 / 444.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.1448, allocations: 15.98 kB / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1451, allocations: 288.8 kB / 444.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1453, allocations: 50.69 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.1453, allocations: 28.72 kB / 444.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1454, allocations: 4 kB / 444.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.1456, allocations: 71.33 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1456, allocations: 0 / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005764/0.1462, allocations: 177.2 kB / 444.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1463, allocations: 59.28 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1464, allocations: 159 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1464, allocations: 29.7 kB / 445.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.1465, allocations: 96.12 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1465, allocations: 27.66 kB / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1465, allocations: 29.7 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.523e-05/0.1466, allocations: 314.8 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.1467, allocations: 19.98 kB / 445.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.1467, allocations: 37.7 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.1468, allocations: 69.7 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1468, allocations: 0 / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001572/0.147, allocations: 97.58 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.147, allocations: 8 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.147, allocations: 0 / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1471, allocations: 3.938 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.1472, allocations: 19.92 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1472, allocations: 4 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.1472, allocations: 0 / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1472, allocations: 4 kB / 445.8 MB, free: 1.324 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 8.212e-05/0.1473, allocations: 133.8 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.1474, allocations: 11.81 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1474, allocations: 16.66 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1474, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1474, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1474, allocations: 3.984 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.1478, allocations: 383.3 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1478, allocations: 3.984 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/0.1478, allocations: 8 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1478, allocations: 4 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1478, allocations: 0 / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1478, allocations: 0 / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1478, allocations: 8.062 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1481, allocations: 208.2 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.1481, allocations: 92.94 kB / 446.7 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.1482, allocations: 4 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1482, allocations: 4.375 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.1483, allocations: 7.984 kB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1483, allocations: 4 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.1484, allocations: 123.9 kB / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1484, allocations: 0 / 446.8 MB, free: 220 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1487, allocations: 20 kB / 446.9 MB, free: 200 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.001239/0.15, allocations: 483 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.1502, allocations: 67.89 kB / 447.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1502, allocations: 4.062 kB / 447.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.1503, allocations: 27.92 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1507, allocations: 27.92 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.1512, allocations: 207.2 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1515, allocations: 0.7002 MB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.1516, allocations: 16.81 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.1516, allocations: 15.44 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1516, allocations: 0 / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of Templates: time 0.005281/0.1569, allocations: 1.681 MB / 450.1 MB, free: 13.03 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches