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.001185/0.001185, allocations: 111.1 kB / 17.75 MB, free: 5.359 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.001032/0.001033, allocations: 186.1 kB / 18.67 MB, free: 4.438 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.401/1.401, 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.9615/0.9615, allocations: 119.3 MB / 411.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 66.06 kB / 0.5716 GB, free: 39.83 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, 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.002908/0.1441, allocations: 1.566 MB / 0.6519 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1456, allocations: 0.8885 MB / 0.6528 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.1457, allocations: 0 / 0.6528 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.1461, allocations: 63.72 kB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.1465, allocations: 103.6 kB / 0.6529 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1468, allocations: 107.5 kB / 0.653 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.147, allocations: 127.6 kB / 0.6531 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.1471, allocations: 7.984 kB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1472, allocations: 63.7 kB / 0.6532 GB, free: 10.17 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1474, allocations: 63.75 kB / 0.6533 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.1474, allocations: 8 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.1475, allocations: 31.98 kB / 0.6533 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1477, allocations: 71.8 kB / 0.6534 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.1477, allocations: 55.48 kB / 0.6534 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.148, allocations: 167.3 kB / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.148, allocations: 0 / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.453e-06/0.148, allocations: 4 kB / 0.6536 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.148, allocations: 4 kB / 0.6536 GB, free: 9.773 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.0006242/0.1486, allocations: 482.2 kB / 0.6541 GB, free: 9.254 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1487, allocations: 12.03 kB / 0.6541 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.1488, allocations: 16.75 kB / 0.6541 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.1492, allocations: 339.3 kB / 0.6544 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1493, allocations: 4.375 kB / 0.6544 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1493, allocations: 4.125 kB / 0.6544 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1494, allocations: 57.62 kB / 0.6545 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1495, allocations: 7.922 kB / 0.6545 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1495, allocations: 0 / 0.6545 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1495, allocations: 0 / 0.6545 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.1496, allocations: 12 kB / 0.6545 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.1498, allocations: 205.7 kB / 0.6547 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.15, allocations: 62.61 kB / 0.6547 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.15, allocations: 28.73 kB / 0.6548 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1501, allocations: 0 / 0.6548 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.1502, allocations: 59.39 kB / 0.6548 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1502, allocations: 0 / 0.6548 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002902/0.1505, allocations: 109.4 kB / 0.6549 GB, free: 8.23 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1506, allocations: 55.41 kB / 0.655 GB, free: 8.164 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.1509, allocations: 282.6 kB / 0.6553 GB, free: 7.875 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1509, allocations: 25.7 kB / 0.6553 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.151, allocations: 136.1 kB / 0.6554 GB, free: 7.707 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.151, allocations: 15.81 kB / 0.6554 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.1511, allocations: 17.72 kB / 0.6554 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1512, allocations: 334.8 kB / 0.6558 GB, free: 7.332 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.1513, allocations: 8 kB / 0.6558 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.832e-05/0.1513, allocations: 41.69 kB / 0.6558 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.1514, allocations: 41.7 kB / 0.6558 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1515, allocations: 0 / 0.6558 GB, free: 7.23 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.1516, allocations: 93.69 kB / 0.6559 GB, free: 7.133 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1517, allocations: 6.969 kB / 0.6559 GB, free: 7.129 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1517, allocations: 8 kB / 0.6559 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1517, allocations: 0 / 0.6559 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.1518, allocations: 16.02 kB / 0.656 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1518, allocations: 0 / 0.656 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.1518, allocations: 11.84 kB / 0.656 GB, free: 7.094 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1519, allocations: 0 / 0.656 GB, free: 7.094 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.0001332/0.152, allocations: 150.6 kB / 0.6561 GB, free: 6.938 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.152, allocations: 23.69 kB / 0.6561 GB, free: 6.914 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.1521, allocations: 25.3 kB / 0.6562 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1521, allocations: 0 / 0.6562 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1521, allocations: 0 / 0.6562 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1522, allocations: 112.8 kB / 0.6563 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1522, allocations: 0 / 0.6563 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.1523, allocations: 0 / 0.6563 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1523, allocations: 7.984 kB / 0.6563 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001996/0.1525, allocations: 156.9 kB / 0.6564 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002613/0.1528, allocations: 266.5 kB / 0.6567 GB, free: 6.312 MB / 0.4983 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.941e-05/0.1528, allocations: 27.97 kB / 0.6567 GB, free: 6.285 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001934/0.1531, allocations: 201.9 kB / 0.6569 GB, free: 6.09 MB / 0.4983 GB Notification: Performance of Backend: time 4.81e-07/0.1531, allocations: 0 / 0.6569 GB, free: 6.09 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.1544, allocations: 402.6 kB / 0.6573 GB, free: 5.848 MB / 0.4983 GB Notification: Performance of SimCode: time 0.0008205/0.1552, allocations: 0.7969 MB / 0.6581 GB, free: 5 MB / 0.4983 GB Notification: Performance of Templates: time 0.004737/0.16, allocations: 1.741 MB / 0.6598 GB, free: 3.27 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