Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.00213/0.00213, allocations: 194 kB / 18.12 MB, free: 5.383 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.485/1.485, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2189/0.2189, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.3 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003675/0.1407, allocations: 1.961 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1423, allocations: 0.9042 MB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.1424, allocations: 0 / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.1428, allocations: 35.83 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.143, allocations: 51.77 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1433, allocations: 114.2 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1436, allocations: 131.6 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1437, allocations: 21.5 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1438, allocations: 55.7 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1439, allocations: 47.66 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.144, allocations: 8 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1441, allocations: 39.98 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.1442, allocations: 27.91 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.1442, allocations: 47.67 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1445, allocations: 139.8 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.1445, allocations: 4 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1445, allocations: 3.938 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1445, allocations: 0 / 472.1 MB, free: 11.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006903/0.1452, allocations: 476.5 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1452, allocations: 8.031 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.1453, allocations: 16.75 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1456, allocations: 224 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1456, allocations: 4.375 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1456, allocations: 12.12 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1459, allocations: 111.5 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1459, allocations: 4 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.1459, allocations: 4 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.146, allocations: 4 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1461, allocations: 43.91 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.1468, allocations: 0.5126 MB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.1472, allocations: 86.59 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1473, allocations: 40.84 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1473, allocations: 3.984 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.1477, allocations: 87.36 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.1477, allocations: 0 / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004472/0.1481, allocations: 145.3 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.1482, allocations: 59.28 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1484, allocations: 191.4 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1484, allocations: 37.7 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.1485, allocations: 112 kB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1486, allocations: 27.61 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.1486, allocations: 29.72 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1488, allocations: 322.8 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1489, allocations: 31.97 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.149, allocations: 64.28 kB / 474.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1492, allocations: 92.2 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1492, allocations: 0 / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002771/0.1495, allocations: 141.3 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1495, allocations: 10.34 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1495, allocations: 0 / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1495, allocations: 0 / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1496, allocations: 31.86 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1497, allocations: 0 / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.1497, allocations: 12.41 kB / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1498, allocations: 12.12 kB / 475 MB, free: 8.07 MB / 350.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.0001307/0.1499, allocations: 125.8 kB / 475.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1499, allocations: 15.81 kB / 475.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.15, allocations: 21.39 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.15, allocations: 7.875 kB / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.15, allocations: 0 / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.15, allocations: 0 / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1502, allocations: 209.6 kB / 475.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1502, allocations: 4 kB / 475.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.1503, allocations: 16 kB / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1503, allocations: 0 / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1503, allocations: 3.984 kB / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1504, allocations: 3.938 kB / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1504, allocations: 7.984 kB / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.1508, allocations: 176.9 kB / 475.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.1509, allocations: 88.86 kB / 475.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1509, allocations: 16.05 kB / 475.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.151, allocations: 7.938 kB / 475.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1511, allocations: 7.984 kB / 475.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1511, allocations: 3.938 kB / 475.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1512, allocations: 145.2 kB / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.816e-06/0.1512, allocations: 0 / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1515, allocations: 32.06 kB / 475.9 MB, free: 7.102 MB / 350.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.0009546/0.1524, allocations: 403.6 kB / 476.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1527, allocations: 79.89 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1527, allocations: 0 / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1528, allocations: 39.92 kB / 476.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1531, allocations: 34.62 kB / 476.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.1537, allocations: 298.2 kB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.154, allocations: 0.7165 MB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.952e-05/0.1541, allocations: 21.41 kB / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.1541, allocations: 15.44 kB / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1541, allocations: 384 / 477.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of Templates: time 0.004933/0.1591, allocations: 1.782 MB / 479.3 MB, free: 3.844 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches