Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001247, allocations: 183 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 8.484 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.0009751/0.0009752, allocations: 104.9 kB / 269.9 MB, free: 8.438 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.3681/0.3681, allocations: 43.49 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001003/0.001003, allocations: 55.92 kB / 429.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1233, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004331/0.1277, allocations: 1.767 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1293, allocations: 0.7845 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1295, allocations: 8 kB / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.1299, allocations: 99.73 kB / 489.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.1302, allocations: 75.77 kB / 489.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1306, allocations: 71.86 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.1308, allocations: 111.7 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1309, allocations: 16.22 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1311, allocations: 51.77 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1312, allocations: 51.83 kB / 490 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.1313, allocations: 4 kB / 490 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1314, allocations: 47.91 kB / 490.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.1315, allocations: 27.84 kB / 490.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.1316, allocations: 35.75 kB / 490.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.1319, allocations: 119.8 kB / 490.3 MB, free: 9.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1319, allocations: 8 kB / 490.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1319, allocations: 0 / 490.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.132, allocations: 0 / 490.3 MB, free: 9.246 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.0006312/0.1326, allocations: 430.8 kB / 490.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1326, allocations: 12.03 kB / 490.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.1327, allocations: 12.75 kB / 490.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.133, allocations: 220.7 kB / 490.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.133, allocations: 4.375 kB / 490.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.1331, allocations: 4.125 kB / 490.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1332, allocations: 57.67 kB / 491 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1333, allocations: 3.938 kB / 491 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1333, allocations: 4 kB / 491 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1333, allocations: 0 / 491 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.1334, allocations: 19.98 kB / 491 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.1338, allocations: 292.8 kB / 491.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.134, allocations: 62.67 kB / 491.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1341, allocations: 24.84 kB / 491.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1341, allocations: 0 / 491.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.1344, allocations: 63.39 kB / 491.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.15e-06/0.1344, allocations: 0 / 491.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005847/0.135, allocations: 193 kB / 491.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.135, allocations: 51.41 kB / 491.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1353, allocations: 246.1 kB / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1353, allocations: 29.7 kB / 492 MB, free: 7.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1354, allocations: 112.1 kB / 492.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.1355, allocations: 23.7 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.1355, allocations: 21.72 kB / 492.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1357, allocations: 330.8 kB / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.1358, allocations: 23.98 kB / 492.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.1359, allocations: 37.7 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.136, allocations: 49.72 kB / 492.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1361, allocations: 0 / 492.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.1363, allocations: 113.4 kB / 492.7 MB, free: 6.617 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1363, allocations: 4 kB / 492.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1363, allocations: 4.031 kB / 492.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1364, allocations: 7.984 kB / 492.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1365, allocations: 19.92 kB / 492.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1365, allocations: 0 / 492.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.1365, allocations: 7.938 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1366, allocations: 4 kB / 492.7 MB, free: 6.57 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 0.0001194/0.1367, allocations: 129.8 kB / 492.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1367, allocations: 15.81 kB / 492.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.1368, allocations: 17.39 kB / 492.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1368, allocations: 8 kB / 492.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1368, allocations: 0 / 492.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.1368, allocations: 3.938 kB / 492.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.1374, allocations: 399.4 kB / 493.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1375, allocations: 4 kB / 493.3 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.1375, allocations: 7.984 kB / 493.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1375, allocations: 4 kB / 493.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1375, allocations: 4.312 kB / 493.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1375, allocations: 4.031 kB / 493.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1375, allocations: 8 kB / 493.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.1382, allocations: 0.7948 MB / 494.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1383, allocations: 88.92 kB / 494.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1383, allocations: 7.984 kB / 494.2 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.1384, allocations: 8.188 kB / 494.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.1385, allocations: 4 kB / 494.2 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1385, allocations: 11.92 kB / 494.2 MB, free: 4.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1387, allocations: 180.3 kB / 494.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1387, allocations: 0 / 494.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.1391, allocations: 23.98 kB / 494.4 MB, free: 4.715 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.001002/0.1401, allocations: 469.6 kB / 494.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1403, allocations: 67.84 kB / 494.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1403, allocations: 0 / 494.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.1404, allocations: 20 kB / 495 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.1408, allocations: 32.7 kB / 495 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.1416, allocations: 416 kB / 495.4 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.142, allocations: 0.716 MB / 496.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.233e-05/0.1421, allocations: 17.17 kB / 496.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.1422, allocations: 15.44 kB / 496.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1422, allocations: 0 / 496.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of Templates: time 0.005007/0.1472, allocations: 1.704 MB / 497.9 MB, free: 1.266 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches