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.001368/0.001368, allocations: 112.2 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.001271/0.001271, allocations: 187.1 kB / 18.67 MB, free: 4.434 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.318/1.318, 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.8635/0.8635, allocations: 119.3 MB / 411.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.72 kB / 0.5715 GB, free: 39.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 80.7 MB / 0.6503 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003009/0.1378, allocations: 1.558 MB / 0.6519 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1393, allocations: 0.8846 MB / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1394, allocations: 0 / 0.6527 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1397, allocations: 63.73 kB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.1402, allocations: 107.6 kB / 0.6529 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.1405, allocations: 107.6 kB / 0.653 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1408, allocations: 123.7 kB / 0.6531 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.1408, allocations: 11.98 kB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.141, allocations: 67.62 kB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1412, allocations: 59.77 kB / 0.6532 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.1412, allocations: 4 kB / 0.6533 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1413, allocations: 39.97 kB / 0.6533 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.1415, allocations: 75.73 kB / 0.6534 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.1416, allocations: 55.55 kB / 0.6534 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.1418, allocations: 151.4 kB / 0.6536 GB, free: 9.785 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1418, allocations: 4 kB / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1418, allocations: 0 / 0.6536 GB, free: 9.781 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1419, 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.000635/0.1425, allocations: 494.2 kB / 0.654 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1425, allocations: 11.89 kB / 0.654 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.1426, allocations: 16.75 kB / 0.6541 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.1431, allocations: 339.3 kB / 0.6544 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1431, allocations: 4.312 kB / 0.6544 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1431, allocations: 4.125 kB / 0.6544 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1433, allocations: 53.67 kB / 0.6544 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1433, allocations: 7.938 kB / 0.6545 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1433, allocations: 0 / 0.6545 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1433, allocations: 0 / 0.6545 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.1434, allocations: 19.97 kB / 0.6545 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.1436, allocations: 209.7 kB / 0.6547 GB, free: 8.504 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1438, allocations: 62.55 kB / 0.6547 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.1439, allocations: 24.8 kB / 0.6548 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1439, allocations: 3.984 kB / 0.6548 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.1441, allocations: 63.39 kB / 0.6548 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1441, allocations: 0 / 0.6548 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002953/0.1444, allocations: 109.3 kB / 0.6549 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1444, allocations: 51.41 kB / 0.655 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.1447, allocations: 274.7 kB / 0.6552 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1447, allocations: 33.7 kB / 0.6553 GB, free: 7.832 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.1448, allocations: 136.1 kB / 0.6554 GB, free: 7.695 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1448, allocations: 11.81 kB / 0.6554 GB, free: 7.684 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1449, allocations: 17.72 kB / 0.6554 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.145, allocations: 334.8 kB / 0.6557 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.145, allocations: 19.98 kB / 0.6558 GB, free: 7.305 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.1451, allocations: 21.72 kB / 0.6558 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1452, allocations: 53.95 kB / 0.6558 GB, free: 7.219 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1452, allocations: 0 / 0.6558 GB, free: 7.219 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001665/0.1454, allocations: 89.38 kB / 0.6559 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1454, allocations: 8 kB / 0.6559 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1454, allocations: 4.141 kB / 0.6559 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1454, allocations: 3.938 kB / 0.6559 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.1455, allocations: 8 kB / 0.6559 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.1455, allocations: 11.92 kB / 0.656 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.1456, allocations: 11.88 kB / 0.656 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1456, allocations: 4 kB / 0.656 GB, free: 7.074 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.000113/0.1457, allocations: 146.6 kB / 0.6561 GB, free: 6.922 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.1458, allocations: 19.81 kB / 0.6561 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.1458, allocations: 25.3 kB / 0.6562 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1458, allocations: 0 / 0.6562 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1458, allocations: 4 kB / 0.6562 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1458, allocations: 3.938 kB / 0.6562 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.146, allocations: 213.5 kB / 0.6564 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.146, allocations: 4 kB / 0.6564 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.146, allocations: 4 kB / 0.6564 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.146, allocations: 0 / 0.6564 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1461, allocations: 7.984 kB / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1461, allocations: 0 / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1461, allocations: 0 / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1463, allocations: 120.8 kB / 0.6565 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.1463, allocations: 104.8 kB / 0.6566 GB, free: 6.336 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1464, allocations: 4 kB / 0.6566 GB, free: 6.332 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.1464, allocations: 7.984 kB / 0.6566 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1465, allocations: 0 / 0.6566 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1465, allocations: 4 kB / 0.6566 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001733/0.1466, allocations: 205.9 kB / 0.6568 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1467, allocations: 0 / 0.6568 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002219/0.1469, allocations: 19.98 kB / 0.6568 GB, free: 6.102 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.0009101/0.1478, allocations: 411.6 kB / 0.6572 GB, free: 5.852 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.148, allocations: 47.86 kB / 0.6573 GB, free: 5.805 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.148, allocations: 0 / 0.6573 GB, free: 5.805 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 5.77e-05/0.148, allocations: 16 kB / 0.6573 GB, free: 5.789 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1483, allocations: 40.78 kB / 0.6573 GB, free: 5.746 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.1489, allocations: 357.8 kB / 0.6577 GB, free: 5.363 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1492, allocations: 0.7319 MB / 0.6584 GB, free: 4.602 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.1492, allocations: 27.44 kB / 0.6584 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of SimCode: time 2.4e-07/0.1492, allocations: 0 / 0.6584 GB, free: 4.574 MB / 0.4983 GB Notification: Performance of Templates: time 0.004848/0.1541, allocations: 2.582 MB / 0.6609 GB, free: 2.004 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