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.001823/0.001823, allocations: 101 kB / 16.27 MB, free: 5.973 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.001313/0.001313, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.522/1.522, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.258/0.258, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001556/0.001557, allocations: 72.25 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1524, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003924/0.1564, allocations: 1.689 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1576, allocations: 0.7883 MB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.1577, allocations: 0 / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.158, allocations: 47.77 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1583, allocations: 47.77 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1585, allocations: 91.56 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.1587, allocations: 95.7 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1588, allocations: 16.5 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.1589, allocations: 43.78 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.159, allocations: 23.86 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.159, allocations: 4 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1591, allocations: 47.97 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.1592, allocations: 15.92 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.1592, allocations: 31.75 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1594, allocations: 115.6 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.1595, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1595, allocations: 4 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1595, allocations: 0 / 443.6 MB, free: 3.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006001/0.1601, allocations: 403 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1601, allocations: 11.89 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.1602, allocations: 12.75 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1604, allocations: 214.1 kB / 444.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1604, allocations: 384 / 444.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1605, allocations: 8.125 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1606, allocations: 61.61 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1606, allocations: 0 / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1607, allocations: 0 / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1607, allocations: 3.984 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.1607, allocations: 20 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1611, allocations: 280.9 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1613, allocations: 66.61 kB / 444.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.1613, allocations: 24.83 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1614, allocations: 3.938 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.1616, allocations: 67.39 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1616, allocations: 0 / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.1621, allocations: 169.2 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1622, allocations: 59.41 kB / 445 MB, free: 2.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1623, allocations: 174.1 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1624, allocations: 25.7 kB / 445.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.1624, allocations: 100.1 kB / 445.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1625, allocations: 27.64 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1625, allocations: 25.7 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.1626, allocations: 322.8 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.1627, allocations: 24 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.1628, allocations: 41.64 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.347e-05/0.1629, allocations: 53.7 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1629, allocations: 0 / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.163, allocations: 97.53 kB / 445.8 MB, free: 1.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1631, allocations: 9.25 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1631, allocations: 7.922 kB / 445.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1631, allocations: 4.031 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.1632, allocations: 12 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1632, allocations: 4 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.1632, allocations: 3.938 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1633, allocations: 8 kB / 445.9 MB, free: 1.289 MB / 318.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 7.952e-05/0.1633, allocations: 129.7 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.1634, allocations: 11.81 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.1634, allocations: 16.7 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1634, allocations: 8 kB / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1634, allocations: 0 / 446 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1635, allocations: 3.938 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.1638, allocations: 387.3 kB / 446.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1638, allocations: 384 / 446.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.1638, allocations: 8 kB / 446.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1638, allocations: 0 / 446.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1639, allocations: 11.94 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1639, allocations: 32 / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1639, allocations: 7.984 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.1641, allocations: 204.4 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.1641, allocations: 85.02 kB / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1641, allocations: 7.875 kB / 446.7 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.1642, allocations: 8 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.1642, allocations: 11.98 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1643, allocations: 0 / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.503e-05/0.1644, allocations: 131.2 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1644, allocations: 0 / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1647, allocations: 27.98 kB / 446.9 MB, free: 140 kB / 318.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.001198/0.1659, allocations: 466.7 kB / 447.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1662, allocations: 67.89 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1662, allocations: 0 / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.222e-05/0.1662, allocations: 23.94 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1666, allocations: 35.97 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1671, allocations: 215 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1675, allocations: 0.6963 MB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.464e-05/0.1676, allocations: 20.88 kB / 448.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.1676, allocations: 15.44 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1676, allocations: 0 / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Templates: time 0.004946/0.1726, allocations: 1.672 MB / 450.1 MB, free: 12.98 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches