Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001549/0.001549, allocations: 107 kB / 17.74 MB, free: 5.355 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.001598/0.001598, allocations: 190.4 kB / 18.68 MB, free: 4.426 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9435/0.9435, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.03 kB / 0.5716 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 80.69 MB / 0.6504 GB, free: 13.1 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002708/0.1545, allocations: 1.566 MB / 0.6519 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1558, allocations: 0.8807 MB / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.1559, allocations: 0 / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1562, allocations: 67.73 kB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1566, allocations: 103.6 kB / 0.6529 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1569, allocations: 111.5 kB / 0.653 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1571, allocations: 127.7 kB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1571, allocations: 11.98 kB / 0.6531 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1573, allocations: 71.69 kB / 0.6532 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1574, allocations: 51.77 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1574, allocations: 8 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.1575, allocations: 31.98 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1577, allocations: 75.69 kB / 0.6534 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.1577, allocations: 59.53 kB / 0.6534 GB, free: 9.93 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.158, allocations: 151.2 kB / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.158, allocations: 0 / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.563e-06/0.158, allocations: 0 / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.158, allocations: 0 / 0.6536 GB, free: 9.781 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.0006007/0.1586, allocations: 0.4941 MB / 0.6541 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1586, allocations: 11.89 kB / 0.6541 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.1587, allocations: 20.8 kB / 0.6541 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.1592, allocations: 335.7 kB / 0.6544 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1592, allocations: 384 / 0.6544 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1592, allocations: 12.06 kB / 0.6544 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1594, allocations: 57.61 kB / 0.6545 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1594, allocations: 4 kB / 0.6545 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1594, allocations: 0 / 0.6545 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1594, allocations: 0 / 0.6545 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/0.1595, allocations: 15.98 kB / 0.6545 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.1597, allocations: 213.6 kB / 0.6547 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1598, allocations: 58.55 kB / 0.6548 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.1599, allocations: 28.78 kB / 0.6548 GB, free: 8.391 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1599, allocations: 3.984 kB / 0.6548 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.1601, allocations: 67.39 kB / 0.6548 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1601, allocations: 0 / 0.6548 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002797/0.1604, allocations: 101.5 kB / 0.6549 GB, free: 8.203 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1604, allocations: 55.34 kB / 0.655 GB, free: 8.137 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.1607, allocations: 282.7 kB / 0.6553 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1607, allocations: 29.7 kB / 0.6553 GB, free: 7.812 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.1608, allocations: 132.1 kB / 0.6554 GB, free: 7.68 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1608, allocations: 11.95 kB / 0.6554 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1609, allocations: 17.7 kB / 0.6555 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.161, allocations: 338.8 kB / 0.6558 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.1611, allocations: 12 kB / 0.6558 GB, free: 7.293 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.1611, allocations: 29.7 kB / 0.6558 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.759e-05/0.1612, allocations: 49.95 kB / 0.6559 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1612, allocations: 0 / 0.6559 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001538/0.1614, allocations: 97.42 kB / 0.656 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1614, allocations: 6.969 kB / 0.656 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1614, allocations: 0 / 0.656 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1614, allocations: 0 / 0.656 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1615, allocations: 12 kB / 0.656 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1615, allocations: 0 / 0.656 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.1616, allocations: 19.91 kB / 0.656 GB, free: 7.066 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1616, allocations: 7.938 kB / 0.656 GB, free: 7.059 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.0001111/0.1617, allocations: 142.6 kB / 0.6561 GB, free: 6.91 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.1618, allocations: 27.8 kB / 0.6562 GB, free: 6.883 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.1618, allocations: 25.3 kB / 0.6562 GB, free: 6.855 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1618, allocations: 4 kB / 0.6562 GB, free: 6.852 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1618, allocations: 3.938 kB / 0.6562 GB, free: 6.848 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.1619, allocations: 89.02 kB / 0.6563 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1619, allocations: 3.984 kB / 0.6563 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.029e-05/0.162, allocations: 12 kB / 0.6563 GB, free: 6.727 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.162, allocations: 0 / 0.6563 GB, free: 6.727 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001833/0.1622, allocations: 156.9 kB / 0.6564 GB, free: 6.566 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002341/0.1624, allocations: 266.6 kB / 0.6567 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.664e-05/0.1625, allocations: 24.17 kB / 0.6567 GB, free: 6.266 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001849/0.1627, allocations: 209.9 kB / 0.6569 GB, free: 6.062 MB / 0.4983 GB Notification: Performance of Backend: time 3.51e-07/0.1627, allocations: 0 / 0.6569 GB, free: 6.062 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.1639, allocations: 402.6 kB / 0.6573 GB, free: 5.824 MB / 0.4983 GB Notification: Performance of SimCode: time 0.0007618/0.1647, allocations: 0.8061 MB / 0.6581 GB, free: 4.965 MB / 0.4983 GB Notification: Performance of Templates: time 0.08658/0.2513, allocations: 1.739 MB / 0.6598 GB, free: 3.238 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches