Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001338, allocations: 102.3 kB / 15.98 MB, free: 6.355 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.001769/0.001769, allocations: 189.2 kB / 16.91 MB, free: 6.191 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.862/1.862, allocations: 205.1 MB / 222.8 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3993/0.3993, allocations: 43.5 MB / 313.6 MB, free: 8.555 MB / 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.001361/0.001361, allocations: 72.33 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003947/0.1496, allocations: 1.968 MB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1511, allocations: 0.8234 MB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.1512, allocations: 0 / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1516, allocations: 35.83 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.1518, allocations: 51.78 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1521, allocations: 95.81 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1523, allocations: 131.6 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1525, allocations: 33.67 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1526, allocations: 63.72 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.1527, allocations: 47.72 kB / 443.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1527, allocations: 8 kB / 443.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1528, allocations: 51.97 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.1529, allocations: 23.92 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.153, allocations: 51.61 kB / 443.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.1533, allocations: 143.5 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1533, allocations: 0 / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1533, allocations: 0 / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1533, allocations: 0 / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008028/0.1541, allocations: 488.5 kB / 444 MB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1542, allocations: 15.89 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.1542, allocations: 20.73 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.1546, allocations: 216.8 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1546, allocations: 4.375 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.1547, allocations: 12.12 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.155, allocations: 108.2 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.155, allocations: 3.938 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.155, allocations: 7.984 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1551, allocations: 4 kB / 444.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1552, allocations: 47.89 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.1559, allocations: 0.5164 MB / 445 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.1562, allocations: 82.66 kB / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.551e-05/0.1563, allocations: 40.84 kB / 445.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1564, allocations: 0 / 445.1 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.1567, allocations: 91.25 kB / 445.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.1567, allocations: 0 / 445.2 MB, free: 9.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004202/0.1571, allocations: 137.5 kB / 445.3 MB, free: 9.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.1572, allocations: 59.34 kB / 445.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1574, allocations: 187.5 kB / 445.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1574, allocations: 29.7 kB / 445.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1575, allocations: 119.9 kB / 445.7 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.1575, allocations: 23.72 kB / 445.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.1576, allocations: 33.7 kB / 445.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1577, allocations: 322.8 kB / 446.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-05/0.1578, allocations: 27.98 kB / 446.1 MB, free: 8.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.158, allocations: 68.27 kB / 446.1 MB, free: 8.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1582, allocations: 100.1 kB / 446.2 MB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1582, allocations: 4 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002545/0.1584, allocations: 129.4 kB / 446.4 MB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1585, allocations: 8 kB / 446.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1585, allocations: 4.453 kB / 446.4 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1585, allocations: 0 / 446.4 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1586, allocations: 27.94 kB / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.1586, allocations: 7.984 kB / 446.4 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.1587, allocations: 15.97 kB / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1587, allocations: 7.938 kB / 446.4 MB, free: 7.996 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001258/0.1589, allocations: 129.4 kB / 446.6 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.1589, allocations: 19.8 kB / 446.6 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.159, allocations: 17.41 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.159, allocations: 3.938 kB / 446.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.159, allocations: 0 / 446.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.159, allocations: 0 / 446.6 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.1592, allocations: 209.5 kB / 446.8 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1592, allocations: 4 kB / 446.8 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.1593, allocations: 19.98 kB / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1593, allocations: 0 / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.1593, allocations: 4 kB / 446.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1593, allocations: 7.938 kB / 446.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1593, allocations: 0 / 446.9 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.1597, allocations: 184.8 kB / 447 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1598, allocations: 84.95 kB / 447.1 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1599, allocations: 7.969 kB / 447.1 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.1599, allocations: 15.92 kB / 447.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.16, allocations: 4 kB / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.16, allocations: 0 / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1601, allocations: 141.2 kB / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1601, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1604, allocations: 24 kB / 447.3 MB, free: 7.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001015/0.1614, allocations: 420.3 kB / 447.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.1617, allocations: 83.84 kB / 447.8 MB, free: 6.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1617, allocations: 3.938 kB / 447.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1618, allocations: 43.95 kB / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.1621, allocations: 39.78 kB / 447.9 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.1627, allocations: 308.6 kB / 448.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.163, allocations: 0.72 MB / 448.9 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.583e-05/0.163, allocations: 13.42 kB / 448.9 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.1631, allocations: 15.44 kB / 448.9 MB, free: 5.387 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1631, allocations: 0 / 448.9 MB, free: 5.387 MB / 382.1 MB Notification: Performance of Templates: time 0.005058/0.1681, allocations: 1.833 MB / 450.8 MB, free: 3.559 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches