Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 104.4 kB / 15.98 MB, free: 5.91 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.001655/0.001654, allocations: 189.5 kB / 16.9 MB, free: 5.758 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.847/1.847, allocations: 205.1 MB / 222.8 MB, free: 4.566 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.4004/0.4004, allocations: 43.5 MB / 313.6 MB, free: 8.535 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.001369/0.001369, allocations: 67.91 kB / 382.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003473/0.1525, allocations: 1.753 MB / 441.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.154, allocations: 0.7885 MB / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.1541, allocations: 0 / 442.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1545, allocations: 35.83 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.1548, allocations: 51.83 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.155, allocations: 75.84 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1552, allocations: 95.7 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1553, allocations: 16.22 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.484e-05/0.1554, allocations: 43.78 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.1555, allocations: 27.84 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1555, allocations: 7.938 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.596e-05/0.1556, allocations: 39.98 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.1557, allocations: 23.86 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.1558, allocations: 35.73 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.156, allocations: 108 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.156, allocations: 4 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.156, allocations: 4 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.156, allocations: 4 kB / 443.1 MB, free: 11.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005696/0.1566, allocations: 403 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1566, allocations: 11.89 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.1567, allocations: 12.75 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1569, allocations: 212 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1569, allocations: 384 / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.157, allocations: 16 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1571, allocations: 57.67 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1572, allocations: 4 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1572, allocations: 0 / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1572, allocations: 0 / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.1573, allocations: 19.98 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1576, allocations: 280.9 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1578, allocations: 58.62 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.1579, allocations: 24.84 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1579, allocations: 0 / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.1581, allocations: 67.38 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1581, allocations: 4 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005487/0.1587, allocations: 165.2 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1587, allocations: 55.41 kB / 444.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.1589, allocations: 170.2 kB / 444.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1589, allocations: 33.7 kB / 444.7 MB, free: 9.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.159, allocations: 100.1 kB / 444.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1591, allocations: 19.66 kB / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.1591, allocations: 29.64 kB / 444.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1592, allocations: 330.7 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.1593, allocations: 23.98 kB / 445.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.1594, allocations: 33.72 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1595, allocations: 61.77 kB / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1595, allocations: 192 / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000168/0.1597, allocations: 105.5 kB / 445.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1597, allocations: 7.938 kB / 445.4 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1597, allocations: 4 kB / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1597, allocations: 0 / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1598, allocations: 16.03 kB / 445.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1598, allocations: 3.938 kB / 445.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.1599, allocations: 11.92 kB / 445.4 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1599, allocations: 4.375 kB / 445.4 MB, free: 9.043 MB / 382.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 9.813e-05/0.16, allocations: 121.8 kB / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.16, allocations: 11.81 kB / 445.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.1601, allocations: 16.7 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1601, allocations: 0 / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1601, allocations: 4 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1601, allocations: 7.938 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1605, allocations: 391.3 kB / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1606, allocations: 0 / 446 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.1606, allocations: 8 kB / 446 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1606, allocations: 0 / 446 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1606, allocations: 7.922 kB / 446 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1606, allocations: 4 kB / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1606, allocations: 0 / 446 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1609, allocations: 204.3 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.1609, allocations: 81.02 kB / 446.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1609, allocations: 7.938 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.161, allocations: 3.984 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.1611, allocations: 8 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1611, allocations: 4 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1612, allocations: 136 kB / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1612, allocations: 0 / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1615, allocations: 24 kB / 446.4 MB, free: 7.922 MB / 382.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.001056/0.1625, allocations: 485.3 kB / 446.9 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1627, allocations: 63.89 kB / 447 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1627, allocations: 4 kB / 447 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.1628, allocations: 27.92 kB / 447 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1631, allocations: 28.53 kB / 447 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.1636, allocations: 238.9 kB / 447.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1639, allocations: 0.7002 MB / 448 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.164, allocations: 20.88 kB / 448 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.164, allocations: 11.44 kB / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.164, allocations: 4 kB / 448 MB, free: 6.324 MB / 382.1 MB Notification: Performance of Templates: time 0.004411/0.1684, allocations: 1.667 MB / 449.7 MB, free: 4.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches