Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001471, allocations: 113.1 kB / 17.33 MB, free: 6.004 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.00138/0.00138, allocations: 193.3 kB / 18.25 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 64.75 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003037/0.1302, allocations: 1.765 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1315, allocations: 0.8576 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.1315, allocations: 4 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.1319, allocations: 47.81 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1321, allocations: 59.77 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.1324, allocations: 87.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1327, allocations: 107.7 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1328, allocations: 12.22 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.1329, allocations: 43.73 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.133, allocations: 35.83 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.133, allocations: 4 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1331, allocations: 43.98 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.1332, allocations: 27.92 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.1333, allocations: 51.59 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1334, allocations: 135.8 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1335, allocations: 0 / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1335, allocations: 0 / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1335, allocations: 0 / 472 MB, free: 11.44 MB / 350.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.0005576/0.134, allocations: 438.8 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1341, allocations: 8.031 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.1341, allocations: 16.75 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1343, allocations: 221 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1344, allocations: 384 / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1344, allocations: 12.03 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1345, allocations: 57.67 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1346, allocations: 3.938 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1346, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1346, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.1347, allocations: 19.98 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.135, allocations: 292.9 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1352, allocations: 70.55 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.1353, allocations: 16.86 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1353, allocations: 4 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.1355, allocations: 63.39 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1355, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.136, allocations: 189 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1361, allocations: 55.41 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1363, allocations: 271.8 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.1364, allocations: 33.69 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.1364, allocations: 108.1 kB / 473.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1365, allocations: 27.64 kB / 473.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1365, allocations: 33.7 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1366, allocations: 330.8 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.1367, allocations: 23.98 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1368, allocations: 41.59 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.1369, allocations: 57.7 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1369, allocations: 384 / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.1371, allocations: 109.5 kB / 474.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1371, allocations: 4.031 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1371, allocations: 4 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1371, allocations: 8 kB / 474.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.1372, allocations: 12 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1372, allocations: 0 / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.1373, allocations: 15.92 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1373, allocations: 0 / 474.5 MB, free: 8.711 MB / 350.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 0.0001149/0.1374, allocations: 140.8 kB / 474.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.1375, allocations: 15.75 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1375, allocations: 25.39 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1375, allocations: 4 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1375, allocations: 0 / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1375, allocations: 3.938 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.138, allocations: 403.3 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.138, allocations: 0 / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.138, allocations: 8 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.138, allocations: 0 / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1381, allocations: 11.97 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1381, allocations: 3.938 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1381, allocations: 0 / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.1383, allocations: 208.2 kB / 475.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.1384, allocations: 92.91 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1384, allocations: 3.938 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.1385, allocations: 7.938 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.1385, allocations: 11.98 kB / 475.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1385, allocations: 4 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1387, allocations: 201.5 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1387, allocations: 4 kB / 475.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.139, allocations: 23.98 kB / 475.6 MB, free: 7.461 MB / 350.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.00103/0.14, allocations: 467.7 kB / 476.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1403, allocations: 63.89 kB / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1403, allocations: 0 / 476.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.1404, allocations: 31.94 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1407, allocations: 39.45 kB / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.1412, allocations: 327.8 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1415, allocations: 0.7158 MB / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.1416, allocations: 16.88 kB / 477.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.1416, allocations: 15.44 kB / 477.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1416, allocations: 0 / 477.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of Templates: time 0.004369/0.146, allocations: 1.727 MB / 479 MB, free: 4.219 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches