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.001233/0.001233, allocations: 112.6 kB / 17.74 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.001059/0.001059, allocations: 194.2 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.328/1.328, 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.8443/0.8443, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 66.14 kB / 0.5716 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1417, allocations: 80.69 MB / 0.6503 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003138/0.1449, allocations: 1.562 MB / 0.6519 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1464, allocations: 0.8846 MB / 0.6527 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1465, allocations: 4 kB / 0.6527 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.1469, allocations: 55.73 kB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.1473, allocations: 119.5 kB / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.1477, allocations: 103.7 kB / 0.653 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1479, allocations: 119.7 kB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.148, allocations: 15.91 kB / 0.6531 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1481, allocations: 71.73 kB / 0.6532 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1483, allocations: 55.78 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1483, allocations: 7.938 kB / 0.6533 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1484, allocations: 35.97 kB / 0.6533 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.1486, allocations: 67.81 kB / 0.6534 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.1487, allocations: 59.53 kB / 0.6534 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1489, allocations: 151.4 kB / 0.6536 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.149, allocations: 0 / 0.6536 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.149, allocations: 0 / 0.6536 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.149, allocations: 0 / 0.6536 GB, free: 9.777 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.0006145/0.1496, allocations: 498.1 kB / 0.654 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1496, allocations: 12.03 kB / 0.6541 GB, free: 9.23 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1497, allocations: 16.75 kB / 0.6541 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.1502, allocations: 335.3 kB / 0.6544 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1502, allocations: 8.375 kB / 0.6544 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1502, allocations: 4.125 kB / 0.6544 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1504, allocations: 57.67 kB / 0.6545 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1504, allocations: 3.938 kB / 0.6545 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1504, allocations: 4 kB / 0.6545 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1504, allocations: 0 / 0.6545 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.1505, allocations: 19.92 kB / 0.6545 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.1507, allocations: 201.7 kB / 0.6547 GB, free: 8.5 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.1509, allocations: 58.61 kB / 0.6547 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.151, allocations: 24.78 kB / 0.6548 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.151, allocations: 7.984 kB / 0.6548 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.1511, allocations: 63.39 kB / 0.6548 GB, free: 8.324 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1512, allocations: 0 / 0.6548 GB, free: 8.324 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002961/0.1515, allocations: 109.3 kB / 0.6549 GB, free: 8.211 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1515, allocations: 51.41 kB / 0.655 GB, free: 8.148 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.1518, allocations: 274.7 kB / 0.6552 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1518, allocations: 29.7 kB / 0.6553 GB, free: 7.832 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.1519, allocations: 140.1 kB / 0.6554 GB, free: 7.691 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1519, allocations: 15.81 kB / 0.6554 GB, free: 7.676 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.152, allocations: 21.7 kB / 0.6554 GB, free: 7.648 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1521, allocations: 330.8 kB / 0.6558 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.1521, allocations: 15.98 kB / 0.6558 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.436e-05/0.1522, allocations: 25.7 kB / 0.6558 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.1523, allocations: 49.66 kB / 0.6558 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1523, allocations: 3.938 kB / 0.6558 GB, free: 7.211 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001676/0.1525, allocations: 93.36 kB / 0.6559 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1525, allocations: 8 kB / 0.6559 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1525, allocations: 0 / 0.6559 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1525, allocations: 0 / 0.6559 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.1526, allocations: 8 kB / 0.6559 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1526, allocations: 0 / 0.6559 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.1527, allocations: 20.19 kB / 0.656 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1527, allocations: 7.984 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.0001169/0.1529, allocations: 142.6 kB / 0.6561 GB, free: 6.922 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1529, allocations: 15.81 kB / 0.6561 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.1529, allocations: 29.3 kB / 0.6562 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.153, allocations: 0 / 0.6562 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.153, allocations: 0 / 0.6562 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.153, allocations: 7.922 kB / 0.6562 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1531, allocations: 213.6 kB / 0.6564 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1532, allocations: 4 kB / 0.6564 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.1532, allocations: 11.92 kB / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1532, allocations: 0 / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1532, allocations: 0 / 0.6564 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1532, allocations: 4 kB / 0.6564 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1532, allocations: 3.984 kB / 0.6564 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.1534, allocations: 120.8 kB / 0.6565 GB, free: 6.449 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.1535, allocations: 96.83 kB / 0.6566 GB, free: 6.336 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.1535, allocations: 7.984 kB / 0.6566 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.97e-05/0.1536, allocations: 0 / 0.6566 GB, free: 6.328 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1536, allocations: 8 kB / 0.6566 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1536, allocations: 4 kB / 0.6566 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001703/0.1538, allocations: 201.9 kB / 0.6568 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1538, allocations: 0 / 0.6568 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002177/0.154, 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.0008795/0.1549, allocations: 414 kB / 0.6572 GB, free: 5.852 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1551, allocations: 43.92 kB / 0.6573 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1551, allocations: 0 / 0.6573 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.1552, allocations: 23.98 kB / 0.6573 GB, free: 5.785 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1555, allocations: 42.66 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.0005497/0.156, allocations: 361.7 kB / 0.6577 GB, free: 5.359 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1563, allocations: 0.7358 MB / 0.6584 GB, free: 4.594 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.1564, allocations: 27.42 kB / 0.6584 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of SimCode: time 3.91e-07/0.1564, allocations: 0 / 0.6584 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of Templates: time 0.004605/0.161, allocations: 2.602 MB / 0.661 GB, free: 1.977 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