Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002692/0.002692, allocations: 106.4 kB / 16.27 MB, free: 5.977 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.002867/0.002868, allocations: 195.4 kB / 17.2 MB, free: 5.609 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.962/1.962, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2616/0.2616, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001568/0.001569, allocations: 69.05 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1524, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003052/0.1555, allocations: 1.652 MB / 442.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1567, allocations: 0.7788 MB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.1568, allocations: 7.938 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1571, allocations: 67.78 kB / 443 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1573, allocations: 63.73 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1575, allocations: 83.7 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1577, allocations: 95.69 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.1577, allocations: 7.984 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.1578, allocations: 39.86 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.1579, allocations: 51.77 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1579, allocations: 4 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.158, allocations: 31.98 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.008e-05/0.1581, allocations: 19.92 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.1581, allocations: 27.8 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1583, allocations: 95.94 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1584, allocations: 4 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1584, allocations: 0 / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1584, allocations: 3.938 kB / 443.6 MB, free: 3.859 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005244/0.1589, allocations: 406.9 kB / 443.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.159, allocations: 11.89 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.159, allocations: 8.844 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1592, allocations: 209.2 kB / 444.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1592, allocations: 4.375 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1593, allocations: 8.125 kB / 444.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1594, allocations: 45.67 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1594, allocations: 0 / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1595, allocations: 0 / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1595, allocations: 8 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.808e-05/0.1595, allocations: 19.92 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.1597, allocations: 177.7 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1599, allocations: 46.62 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1599, allocations: 24.78 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.16, allocations: 7.875 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1602, allocations: 71.33 kB / 444.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1602, allocations: 0 / 444.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002509/0.1604, allocations: 93.58 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.1605, allocations: 51.41 kB / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1606, allocations: 194 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1606, allocations: 29.7 kB / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.1607, allocations: 104.1 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1607, allocations: 7.906 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.1607, allocations: 21.72 kB / 445.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.1608, allocations: 318.8 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.1608, allocations: 16.23 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.1609, allocations: 29.66 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.091e-05/0.161, allocations: 49.7 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.161, allocations: 0 / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000126/0.1611, allocations: 85.47 kB / 445.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1611, allocations: 4 kB / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1612, allocations: 0 / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1612, allocations: 3.984 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.1613, allocations: 12 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1613, allocations: 0 / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.1613, allocations: 19.83 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1613, allocations: 4.031 kB / 445.6 MB, free: 1.574 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 (7): * Single equations (assignments): 7 * 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 6.585e-05/0.1614, allocations: 129.7 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.1614, allocations: 7.906 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.1615, allocations: 12.31 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1615, allocations: 4 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1615, allocations: 3.984 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1615, allocations: 3.938 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.596e-05/0.1616, allocations: 189.6 kB / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1616, allocations: 0 / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.1616, allocations: 0 / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1616, allocations: 8 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.1616, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1616, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1616, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1618, allocations: 113 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.1618, allocations: 92.92 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1618, allocations: 3.984 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.1619, allocations: 8 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1619, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1619, allocations: 4 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.162, allocations: 143.2 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.092e-06/0.162, allocations: 0 / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.1622, allocations: 23.94 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0008709/0.1631, allocations: 396 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.1633, allocations: 55.97 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1633, allocations: 0 / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.1633, allocations: 19.94 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.1636, allocations: 35.44 kB / 446.8 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.164, allocations: 202.2 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1643, allocations: 0.6963 MB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.1643, allocations: 16.41 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.1644, allocations: 19.42 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1644, allocations: 3.938 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Templates: time 0.004372/0.1687, allocations: 1.471 MB / 449.2 MB, free: 13.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches