Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001527, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.001578/0.001579, allocations: 195 kB / 17.98 MB, free: 5.027 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.886/1.886, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.3448/0.3448, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 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.001489/0.001489, allocations: 69.56 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004421/0.1328, allocations: 1.838 MB / 443.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1345, allocations: 0.8896 MB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1347, allocations: 4 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.1353, allocations: 167.5 kB / 444.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.1357, allocations: 135.5 kB / 445 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.1363, allocations: 147.6 kB / 445.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.1367, allocations: 215.3 kB / 445.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.1369, allocations: 21.55 kB / 445.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1372, allocations: 103.6 kB / 445.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1374, allocations: 127.6 kB / 445.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1374, allocations: 4 kB / 445.6 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1376, allocations: 43.98 kB / 445.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1377, allocations: 47.77 kB / 445.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1378, allocations: 71.44 kB / 445.8 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.1382, allocations: 195.3 kB / 446 MB, free: 2.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1382, allocations: 0 / 446 MB, free: 2.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1382, allocations: 4 kB / 446 MB, free: 2.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1382, allocations: 0 / 446 MB, free: 2.141 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008709/0.1391, allocations: 0.5098 MB / 446.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.1392, allocations: 15.89 kB / 446.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.537e-05/0.1393, allocations: 20.66 kB / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.1398, allocations: 275.5 kB / 446.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1399, allocations: 4.375 kB / 446.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.1399, allocations: 12.11 kB / 446.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.1402, allocations: 107.2 kB / 446.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1402, allocations: 0 / 446.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1402, allocations: 3.984 kB / 446.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1402, allocations: 4 kB / 446.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.1404, allocations: 35.98 kB / 446.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.1409, allocations: 444.8 kB / 447.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.1413, allocations: 109.3 kB / 447.5 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1414, allocations: 49.7 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.1414, allocations: 0 / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.1417, allocations: 109.1 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.1417, allocations: 0 / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001179/0.1429, allocations: 356.5 kB / 448 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.143, allocations: 89.05 kB / 448.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.1437, allocations: 355 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.1437, allocations: 33.7 kB / 448.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1439, allocations: 136.4 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/0.144, allocations: 51.28 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.214e-05/0.1441, allocations: 33.72 kB / 448.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.1443, allocations: 334.8 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1445, allocations: 55.69 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.1447, allocations: 72.61 kB / 449.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.145, allocations: 123.5 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.145, allocations: 0 / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004902/0.1455, allocations: 177.3 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.1456, allocations: 9.25 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1456, allocations: 0 / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.1456, allocations: 0 / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1458, allocations: 35.92 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1458, allocations: 7.875 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.1459, allocations: 11.98 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1459, allocations: 8 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001713/0.1461, allocations: 153.8 kB / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.1461, allocations: 23.72 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.824e-05/0.1462, allocations: 33.73 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1463, allocations: 4 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1463, allocations: 7.875 kB / 449.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.1463, allocations: 3.984 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.1472, allocations: 0.6125 MB / 450.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1473, allocations: 0 / 450.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.1473, allocations: 19.94 kB / 450.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1473, allocations: 0 / 450.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.1474, allocations: 7.984 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1474, allocations: 4 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1474, allocations: 320 / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.1479, allocations: 372.2 kB / 450.7 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.148, allocations: 96.83 kB / 450.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.148, allocations: 7.984 kB / 450.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.1482, allocations: 11.98 kB / 450.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1483, allocations: 12.36 kB / 450.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.1483, allocations: 4 kB / 450.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.1486, allocations: 269.9 kB / 451.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1486, allocations: 0 / 451.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.149, allocations: 36 kB / 451.1 MB, free: 12.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001223/0.1502, allocations: 489 kB / 451.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.1506, allocations: 115.9 kB / 451.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1506, allocations: 0 / 451.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1507, allocations: 55.92 kB / 451.8 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.1513, allocations: 66.75 kB / 451.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.1523, allocations: 434.7 kB / 452.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.1528, allocations: 0.7476 MB / 453 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.1529, allocations: 38.55 kB / 453.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.153, allocations: 23.44 kB / 453.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.153, allocations: 0 / 453.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Templates: time 0.006898/0.1599, allocations: 2.689 MB / 455.8 MB, free: 7.953 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches