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.001326/0.001326, allocations: 115.1 kB / 17.07 MB, free: 6.016 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.001381/0.001381, allocations: 191.7 kB / 18 MB, free: 5.098 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.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8765/0.8765, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 66.25 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1459, allocations: 80.68 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002712/0.1486, allocations: 1.566 MB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.15, allocations: 0.8846 MB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.1501, allocations: 0 / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1504, allocations: 59.73 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.1508, allocations: 111.6 kB / 0.6523 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.151, allocations: 107.4 kB / 0.6524 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1512, allocations: 131.6 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1512, allocations: 11.98 kB / 0.6525 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1514, allocations: 63.7 kB / 0.6526 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1515, allocations: 63.75 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1515, allocations: 4 kB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.1516, allocations: 35.92 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1518, allocations: 67.81 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.1518, allocations: 55.55 kB / 0.6528 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1521, allocations: 155.2 kB / 0.6529 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1521, allocations: 0 / 0.6529 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1521, allocations: 0 / 0.6529 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1521, allocations: 0 / 0.6529 GB, free: 9.801 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.000575/0.1527, allocations: 0.4902 MB / 0.6534 GB, free: 9.262 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1527, allocations: 12.03 kB / 0.6534 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.1528, allocations: 28.73 kB / 0.6534 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.1532, allocations: 331.7 kB / 0.6537 GB, free: 8.859 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1532, allocations: 4.375 kB / 0.6538 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.1532, allocations: 4.125 kB / 0.6538 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1533, allocations: 53.67 kB / 0.6538 GB, free: 8.793 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1534, allocations: 3.938 kB / 0.6538 GB, free: 8.789 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1534, allocations: 7.984 kB / 0.6538 GB, free: 8.781 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1534, allocations: 0 / 0.6538 GB, free: 8.781 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.448e-05/0.1535, allocations: 19.98 kB / 0.6538 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1537, allocations: 209.6 kB / 0.654 GB, free: 8.508 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1538, allocations: 58.56 kB / 0.6541 GB, free: 8.441 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1539, allocations: 24.78 kB / 0.6541 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1539, allocations: 4 kB / 0.6541 GB, free: 8.41 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.154, allocations: 67.39 kB / 0.6542 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.154, allocations: 0 / 0.6542 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.0002644/0.1543, allocations: 109.5 kB / 0.6543 GB, free: 8.219 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1544, allocations: 51.41 kB / 0.6543 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1546, allocations: 282.6 kB / 0.6546 GB, free: 7.867 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1547, allocations: 25.7 kB / 0.6546 GB, free: 7.836 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.1547, allocations: 136.1 kB / 0.6548 GB, free: 7.699 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.1548, allocations: 11.94 kB / 0.6548 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1548, allocations: 21.72 kB / 0.6548 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1549, allocations: 338.8 kB / 0.6551 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.155, allocations: 8 kB / 0.6551 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.155, allocations: 29.7 kB / 0.6552 GB, free: 7.277 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.098e-05/0.1551, allocations: 49.64 kB / 0.6552 GB, free: 7.223 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1552, allocations: 0 / 0.6552 GB, free: 7.223 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000157/0.1553, allocations: 93.48 kB / 0.6553 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1553, allocations: 4 kB / 0.6553 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1553, allocations: 0 / 0.6553 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1554, allocations: 4 kB / 0.6553 GB, free: 7.117 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.1554, allocations: 15.92 kB / 0.6553 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.1554, allocations: 0 / 0.6553 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.1555, allocations: 11.89 kB / 0.6553 GB, free: 7.09 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1555, allocations: 320 / 0.6553 GB, free: 7.09 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.0001206/0.1556, allocations: 154.7 kB / 0.6555 GB, free: 6.93 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1557, allocations: 23.86 kB / 0.6555 GB, free: 6.906 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.1557, allocations: 29.3 kB / 0.6555 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1557, allocations: 0 / 0.6555 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1557, allocations: 0 / 0.6555 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1557, allocations: 3.938 kB / 0.6555 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1559, allocations: 221.5 kB / 0.6557 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1559, allocations: 0 / 0.6557 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.1559, allocations: 4 kB / 0.6557 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1559, allocations: 4 kB / 0.6557 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.156, allocations: 0 / 0.6557 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.156, allocations: 0 / 0.6557 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.156, allocations: 3.938 kB / 0.6558 GB, free: 6.594 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1562, allocations: 120.9 kB / 0.6559 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.1562, allocations: 101 kB / 0.656 GB, free: 6.34 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1563, allocations: 4 kB / 0.656 GB, free: 6.336 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.1563, allocations: 0 / 0.656 GB, free: 6.336 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.1563, allocations: 11.98 kB / 0.656 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1563, allocations: 0 / 0.656 GB, free: 6.324 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001744/0.1565, allocations: 209.9 kB / 0.6562 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1565, allocations: 0 / 0.6562 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002031/0.1567, allocations: 19.94 kB / 0.6562 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.0008068/0.1575, allocations: 403.4 kB / 0.6566 GB, free: 5.855 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1577, allocations: 47.86 kB / 0.6566 GB, free: 5.809 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1577, allocations: 4.062 kB / 0.6566 GB, free: 5.805 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-05/0.1578, allocations: 19.98 kB / 0.6566 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.00026/0.1581, allocations: 49.47 kB / 0.6567 GB, free: 5.738 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.1586, allocations: 315.7 kB / 0.657 GB, free: 5.402 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1589, allocations: 0.7435 MB / 0.6577 GB, free: 4.629 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 9.212e-05/0.159, allocations: 37.5 kB / 0.6578 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.159, allocations: 27.44 kB / 0.6578 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of SimCode: time 2.21e-07/0.159, allocations: 0 / 0.6578 GB, free: 4.562 MB / 0.4983 GB Notification: Performance of Templates: time 0.004225/0.1633, allocations: 1.72 MB / 0.6595 GB, free: 2.855 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