Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000997/0.000997, allocations: 97.45 kB / 17 MB, free: 6.402 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.001172/0.001172, allocations: 177.3 kB / 17.89 MB, free: 5.945 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.519/1.519, allocations: 223.3 MB / 241.9 MB, free: 14.62 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.201/0.201, allocations: 44.26 MB / 337.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 8 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1378, allocations: 61.94 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001981/0.1398, allocations: 1.386 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1411, allocations: 0.8075 MB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.1412, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1415, allocations: 43.81 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1417, allocations: 47.83 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1419, allocations: 91.33 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1421, allocations: 79.7 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.1422, allocations: 20.2 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.1423, allocations: 39.78 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.1423, allocations: 27.86 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1424, allocations: 0 / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.1425, allocations: 31.98 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.435e-05/0.1425, allocations: 19.91 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.1426, allocations: 41.64 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1427, allocations: 84.09 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1427, allocations: 4 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1427, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1427, allocations: 0 / 474.3 MB, free: 10.93 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.000595/0.1433, allocations: 406.9 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1434, allocations: 8.031 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.1435, allocations: 11.81 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1437, allocations: 215.5 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.1438, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1438, allocations: 4 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.144, allocations: 61.62 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.144, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.144, allocations: 0 / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.144, allocations: 4 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.1441, allocations: 15.98 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.1445, allocations: 288.8 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1447, allocations: 62.67 kB / 475.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1448, allocations: 20.84 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1448, allocations: 4 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1451, allocations: 63.39 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1451, allocations: 0 / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005922/0.1457, allocations: 185 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1457, allocations: 51.41 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.146, allocations: 199.3 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.146, allocations: 29.64 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.1461, allocations: 104.1 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1461, allocations: 19.72 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.1461, allocations: 0 / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1463, allocations: 326.8 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.1463, allocations: 27.98 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.1464, allocations: 33.7 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/0.1465, allocations: 20 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1465, allocations: 3.938 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001885/0.1467, allocations: 105.5 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1467, allocations: 4 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1467, allocations: 384 / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1468, allocations: 4.031 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1469, allocations: 16 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1469, allocations: 0 / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.1469, allocations: 11.98 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.147, allocations: 192 / 476.6 MB, free: 8.434 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.1471, allocations: 137.2 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1471, allocations: 15.75 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.1472, allocations: 21.39 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1472, allocations: 0 / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1472, allocations: 4 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1472, allocations: 0 / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.1477, allocations: 395.3 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1477, allocations: 0 / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.1478, allocations: 15.97 kB / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1478, allocations: 0 / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1478, allocations: 0 / 477.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.1478, allocations: 4 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1478, allocations: 4.031 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1481, allocations: 212.3 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.1482, allocations: 93 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1482, allocations: 0 / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1483, allocations: 4 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.1483, allocations: 7.984 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1483, allocations: 8 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1485, allocations: 148.9 kB / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1485, allocations: 0 / 477.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1487, allocations: 20 kB / 477.7 MB, free: 7.266 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.1498, allocations: 473.1 kB / 478.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.15, allocations: 55.91 kB / 478.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.15, allocations: 0 / 478.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.876e-05/0.1501, allocations: 31.98 kB / 478.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1504, allocations: 27.88 kB / 478.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.1509, allocations: 246.5 kB / 478.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1513, allocations: 0.7083 MB / 479.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.1514, allocations: 21.19 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.1514, allocations: 15.44 kB / 479.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1514, allocations: 3.938 kB / 479.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004595/0.156, allocations: 1.591 MB / 480.8 MB, free: 4.242 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches