Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 109.2 kB / 17.74 MB, free: 5.188 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.001498/0.001498, allocations: 188.3 kB / 18.67 MB, free: 4.266 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9372/0.9372, allocations: 119.3 MB / 411.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.03 kB / 0.5715 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1655, allocations: 80.69 MB / 0.6503 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00353/0.169, allocations: 1.558 MB / 0.6519 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1707, allocations: 0.8846 MB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.1709, allocations: 3.938 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.1713, allocations: 55.8 kB / 0.6528 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.1718, allocations: 107.6 kB / 0.6529 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.1721, allocations: 111.3 kB / 0.653 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1724, allocations: 127.6 kB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.1724, allocations: 15.95 kB / 0.6531 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1726, allocations: 59.77 kB / 0.6532 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1728, allocations: 67.69 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.1728, allocations: 4 kB / 0.6533 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.173, allocations: 32 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1731, allocations: 71.8 kB / 0.6534 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.1732, allocations: 55.55 kB / 0.6534 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1735, allocations: 155.3 kB / 0.6536 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1735, allocations: 0 / 0.6536 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.936e-06/0.1735, allocations: 4 kB / 0.6536 GB, free: 9.77 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.1735, allocations: 0 / 0.6536 GB, free: 9.77 MB / 0.4983 GB 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.0007284/0.1743, allocations: 498.1 kB / 0.654 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1743, allocations: 12.03 kB / 0.6541 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.1744, allocations: 24.75 kB / 0.6541 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.1749, allocations: 335.3 kB / 0.6544 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1749, allocations: 384 / 0.6544 GB, free: 8.832 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.175, allocations: 4.125 kB / 0.6544 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1751, allocations: 57.61 kB / 0.6545 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1751, allocations: 0 / 0.6545 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1752, allocations: 4 kB / 0.6545 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1752, allocations: 0 / 0.6545 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.1752, allocations: 19.92 kB / 0.6545 GB, free: 8.742 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.1755, allocations: 213.7 kB / 0.6547 GB, free: 8.484 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1757, allocations: 50.62 kB / 0.6547 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.1757, allocations: 24.78 kB / 0.6548 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1758, allocations: 0 / 0.6548 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1759, allocations: 71.33 kB / 0.6548 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1759, allocations: 0 / 0.6548 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0003062/0.1763, allocations: 105.4 kB / 0.6549 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1763, allocations: 51.41 kB / 0.655 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1766, allocations: 278.7 kB / 0.6552 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1766, allocations: 25.7 kB / 0.6553 GB, free: 7.828 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.1767, allocations: 136.1 kB / 0.6554 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1768, allocations: 15.8 kB / 0.6554 GB, free: 7.676 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1768, allocations: 21.72 kB / 0.6554 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.177, allocations: 338.8 kB / 0.6558 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.177, allocations: 12 kB / 0.6558 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.1771, allocations: 29.69 kB / 0.6558 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1772, allocations: 49.64 kB / 0.6558 GB, free: 7.207 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1772, allocations: 4 kB / 0.6558 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001767/0.1774, allocations: 89.38 kB / 0.6559 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1774, allocations: 8 kB / 0.6559 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1774, allocations: 0 / 0.6559 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1774, allocations: 0 / 0.6559 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.1775, allocations: 11.98 kB / 0.6559 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1775, allocations: 320 / 0.6559 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.1776, allocations: 11.84 kB / 0.656 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1776, allocations: 8 kB / 0.656 GB, free: 7.07 MB / 0.4983 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 0.0001325/0.1778, allocations: 150.7 kB / 0.6561 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1778, allocations: 19.75 kB / 0.6561 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.1779, allocations: 29.3 kB / 0.6562 GB, free: 6.863 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1779, allocations: 0 / 0.6562 GB, free: 6.863 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1779, allocations: 3.938 kB / 0.6562 GB, free: 6.859 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.1779, allocations: 4 kB / 0.6562 GB, free: 6.855 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.1781, allocations: 217.5 kB / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1781, allocations: 0 / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.1781, allocations: 7.938 kB / 0.6564 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1781, allocations: 0 / 0.6564 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1781, allocations: 11.98 kB / 0.6564 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1781, allocations: 0 / 0.6564 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1782, allocations: 0 / 0.6564 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.1784, allocations: 120.8 kB / 0.6565 GB, free: 6.438 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.1784, allocations: 100.8 kB / 0.6566 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1785, allocations: 0 / 0.6566 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.1785, allocations: 0 / 0.6566 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1786, allocations: 7.984 kB / 0.6566 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1786, allocations: 12 kB / 0.6566 GB, free: 6.301 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001931/0.1788, allocations: 201.9 kB / 0.6568 GB, free: 6.105 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1788, allocations: 0 / 0.6568 GB, free: 6.105 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002346/0.179, allocations: 16 kB / 0.6568 GB, free: 6.09 MB / 0.4983 GB 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.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.001008/0.1801, allocations: 411.5 kB / 0.6572 GB, free: 5.84 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1802, allocations: 35.98 kB / 0.6573 GB, free: 5.805 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1803, allocations: 4.062 kB / 0.6573 GB, free: 5.801 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.1803, allocations: 23.92 kB / 0.6573 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1806, allocations: 43 kB / 0.6573 GB, free: 5.734 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.1813, allocations: 353.7 kB / 0.6577 GB, free: 5.355 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1816, allocations: 0.7397 MB / 0.6584 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.1817, allocations: 27.44 kB / 0.6584 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of SimCode: time 7.11e-07/0.1817, allocations: 0 / 0.6584 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of Templates: time 0.005236/0.1869, allocations: 2.583 MB / 0.6609 GB, free: 1.992 MB / 0.4983 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches