Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 187 kB / 16.63 MB, free: 5.137 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.713/1.713, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.001087/0.001087, allocations: 95.77 kB / 269.9 MB, free: 8.434 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.3838/0.3838, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 51.92 kB / 429.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003125/0.1347, allocations: 1.76 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1359, allocations: 0.7846 MB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.136, allocations: 11.94 kB / 489.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1363, allocations: 31.83 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1365, allocations: 47.83 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1368, allocations: 79.84 kB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1369, allocations: 87.7 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1371, allocations: 12.22 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.1372, allocations: 39.78 kB / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.1372, allocations: 39.78 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1373, allocations: 4 kB / 489.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1374, allocations: 39.98 kB / 489.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1375, allocations: 15.91 kB / 490 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1375, allocations: 31.75 kB / 490 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1377, allocations: 111.9 kB / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1377, allocations: 0 / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1377, allocations: 0 / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1377, allocations: 0 / 490.1 MB, free: 9.414 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.0005785/0.1383, allocations: 422.9 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1384, allocations: 8.031 kB / 490.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.1384, allocations: 8.844 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1387, allocations: 212 kB / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1387, allocations: 384 / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1387, allocations: 12.06 kB / 490.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1389, allocations: 53.67 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1389, allocations: 0 / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1389, allocations: 3.984 kB / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1389, allocations: 0 / 490.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.139, allocations: 27.92 kB / 490.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1394, allocations: 284.9 kB / 491.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1396, allocations: 58.67 kB / 491.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.1396, allocations: 16.86 kB / 491.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1397, allocations: 7.984 kB / 491.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.1399, allocations: 75.23 kB / 491.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1399, allocations: 0 / 491.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005467/0.1405, allocations: 161.6 kB / 491.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1405, allocations: 55.39 kB / 491.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1407, allocations: 186.2 kB / 491.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1407, allocations: 25.7 kB / 491.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.1408, allocations: 112.1 kB / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1408, allocations: 23.7 kB / 491.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.1409, allocations: 21.72 kB / 491.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.141, allocations: 326.8 kB / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.1411, allocations: 19.98 kB / 492.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.1411, allocations: 41.64 kB / 492.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1412, allocations: 65.78 kB / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1412, allocations: 0 / 492.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.1414, allocations: 105.6 kB / 492.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1415, allocations: 4 kB / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1415, allocations: 3.938 kB / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1415, allocations: 0 / 492.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.1416, allocations: 16 kB / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1416, allocations: 3.984 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1416, allocations: 7.969 kB / 492.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1416, allocations: 8 kB / 492.4 MB, free: 6.844 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 ($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.029e-05/0.1417, allocations: 117.8 kB / 492.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.1418, allocations: 15.89 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.1418, allocations: 12.72 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1418, allocations: 0 / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1418, allocations: 3.938 kB / 492.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1418, allocations: 7.938 kB / 492.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.1422, allocations: 395.2 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1422, allocations: 0 / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.1423, allocations: 15.92 kB / 493 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1423, allocations: 0 / 493 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1423, allocations: 7.938 kB / 493 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1423, allocations: 0 / 493 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1423, allocations: 0 / 493 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.1428, allocations: 0.7832 MB / 493.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1429, allocations: 85.02 kB / 493.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1429, allocations: 0 / 493.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.143, allocations: 7.984 kB / 493.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.143, allocations: 4 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1431, allocations: 4 kB / 493.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1432, allocations: 152 kB / 494 MB, free: 5.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1432, allocations: 0 / 494 MB, free: 5.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.1436, allocations: 23.91 kB / 494 MB, free: 5.082 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) * 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.0009456/0.1445, allocations: 488 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.1447, allocations: 63.84 kB / 494.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1447, allocations: 0 / 494.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.1448, allocations: 31.92 kB / 494.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1451, allocations: 28.59 kB / 494.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.1457, allocations: 372 kB / 495 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1459, allocations: 0.7004 MB / 495.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.146, allocations: 20.86 kB / 495.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.146, allocations: 19.44 kB / 495.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.146, allocations: 0 / 495.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of Templates: time 0.003907/0.15, allocations: 1.672 MB / 497.4 MB, free: 1.695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches