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.001168/0.001168, allocations: 108.4 kB / 16.62 MB, free: 6.812 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.001218/0.001218, allocations: 197.9 kB / 17.55 MB, free: 5.949 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.202/1.202, allocations: 222.9 MB / 241.2 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8333/0.8333, allocations: 119.3 MB / 410.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.4904 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4267, allocations: 80.68 MB / 0.5692 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002343/0.4291, allocations: 1.612 MB / 0.5708 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.4302, allocations: 0.8828 MB / 0.5717 GB, free: 41 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.4303, allocations: 0 / 0.5717 GB, free: 41 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.4306, allocations: 56.84 kB / 0.5717 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.4308, allocations: 98.61 kB / 0.5718 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.4311, allocations: 91.83 kB / 0.5719 GB, free: 40.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4312, allocations: 122.7 kB / 0.572 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.4313, allocations: 9.562 kB / 0.572 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4314, allocations: 68.44 kB / 0.5721 GB, free: 40.74 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.4315, allocations: 63.36 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.4315, allocations: 4.625 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.4316, allocations: 28.31 kB / 0.5722 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.4317, allocations: 68.86 kB / 0.5722 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.4318, allocations: 59 kB / 0.5723 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.4319, allocations: 155.5 kB / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4319, allocations: 5.375 kB / 0.5725 GB, free: 40.51 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4319, allocations: 0 / 0.5725 GB, free: 40.51 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.432, allocations: 3.938 kB / 0.5725 GB, free: 40.51 MB / 462.3 MB 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.0004157/0.4324, allocations: 493 kB / 0.5729 GB, free: 40.03 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.4324, allocations: 9.625 kB / 0.5729 GB, free: 40.03 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.4325, allocations: 22.28 kB / 0.573 GB, free: 40.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.4328, allocations: 324.9 kB / 0.5733 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4328, allocations: 5.406 kB / 0.5733 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4328, allocations: 9.844 kB / 0.5733 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.4329, allocations: 50.7 kB / 0.5733 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.4329, allocations: 5.094 kB / 0.5733 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.4329, allocations: 0 / 0.5733 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4329, allocations: 1.094 kB / 0.5733 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.032e-05/0.433, allocations: 15.55 kB / 0.5734 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.4332, allocations: 208.2 kB / 0.5736 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.4333, allocations: 51.5 kB / 0.5736 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.4333, allocations: 27.45 kB / 0.5736 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.4334, allocations: 1.469 kB / 0.5736 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.4335, allocations: 72.02 kB / 0.5737 GB, free: 39.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.4335, allocations: 0 / 0.5737 GB, free: 39.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002384/0.4338, allocations: 100.5 kB / 0.5738 GB, free: 39.23 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.4338, allocations: 56.34 kB / 0.5739 GB, free: 39.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.434, allocations: 282.8 kB / 0.5741 GB, free: 38.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.434, allocations: 27.05 kB / 0.5741 GB, free: 38.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.4341, allocations: 135.6 kB / 0.5743 GB, free: 38.82 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.4341, allocations: 17.39 kB / 0.5743 GB, free: 38.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.4342, allocations: 23.55 kB / 0.5743 GB, free: 38.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.4342, allocations: 329.5 kB / 0.5746 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.4343, allocations: 18.86 kB / 0.5746 GB, free: 38.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.4343, allocations: 31.86 kB / 0.5747 GB, free: 38.42 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.4344, allocations: 39.16 kB / 0.5747 GB, free: 38.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4344, allocations: 1.75 kB / 0.5747 GB, free: 38.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001345/0.4345, allocations: 102.5 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4346, allocations: 5.25 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4346, allocations: 0 / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4346, allocations: 4.969 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.4347, allocations: 10.03 kB / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4347, allocations: 0 / 0.5748 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.4347, allocations: 11.86 kB / 0.5748 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4347, allocations: 2.656 kB / 0.5748 GB, free: 38.31 MB / 462.3 MB 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 8.616e-05/0.4348, allocations: 147 kB / 0.575 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.4349, allocations: 29.36 kB / 0.575 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.4349, allocations: 19.78 kB / 0.575 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4349, allocations: 1.312 kB / 0.575 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4349, allocations: 11.92 kB / 0.575 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.4349, allocations: 1.344 kB / 0.575 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.435, allocations: 215.4 kB / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.435, allocations: 1.406 kB / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.4351, allocations: 3.062 kB / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4351, allocations: 0 / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4351, allocations: 1.375 kB / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4351, allocations: 0 / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4351, allocations: 1.312 kB / 0.5753 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.4353, allocations: 125.6 kB / 0.5754 GB, free: 37.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.4353, allocations: 99.5 kB / 0.5755 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.4353, allocations: 1.344 kB / 0.5755 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.4354, allocations: 5.906 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.4354, allocations: 1.688 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.4354, allocations: 6.562 kB / 0.5755 GB, free: 37.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001415/0.4356, allocations: 208.4 kB / 0.5757 GB, free: 37.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4356, allocations: 0 / 0.5757 GB, free: 37.54 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002081/0.4358, allocations: 27.56 kB / 0.5757 GB, free: 37.53 MB / 462.3 MB 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.0008017/0.4366, allocations: 408.7 kB / 0.5761 GB, free: 37.34 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.4368, allocations: 45.02 kB / 0.5761 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4368, allocations: 0 / 0.5761 GB, free: 37.32 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.529e-05/0.4368, allocations: 24.02 kB / 0.5762 GB, free: 37.3 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.4371, allocations: 39.78 kB / 0.5762 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.4376, allocations: 367.8 kB / 0.5766 GB, free: 37.02 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.4377, allocations: 0.7335 MB / 0.5773 GB, free: 36.3 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.4378, allocations: 49.48 kB / 0.5773 GB, free: 36.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.4379, allocations: 22.12 kB / 0.5773 GB, free: 36.26 MB / 462.3 MB Notification: Performance of SimCode: time 3.2e-07/0.4379, allocations: 0 / 0.5773 GB, free: 36.26 MB / 462.3 MB Notification: Performance of Templates: time 0.004006/0.4419, allocations: 1.686 MB / 0.579 GB, free: 35.42 MB / 462.3 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches