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.001597/0.001597, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.002026/0.002026, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.354/1.354, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.059/1.059, allocations: 119.3 MB / 411.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 63.89 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5719, allocations: 80.68 MB / 0.5711 GB, free: 43.71 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003234/0.5752, allocations: 1.558 MB / 0.5727 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.5766, allocations: 0.8932 MB / 0.5735 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.5767, allocations: 5.156 kB / 0.5735 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.577, allocations: 60.95 kB / 0.5736 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.5774, allocations: 104.1 kB / 0.5737 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.5776, allocations: 104.7 kB / 0.5738 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.5778, allocations: 122.8 kB / 0.5739 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.5779, allocations: 16.34 kB / 0.5739 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.578, allocations: 70.81 kB / 0.574 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.5782, allocations: 53.55 kB / 0.5741 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.5782, allocations: 9 kB / 0.5741 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.5783, allocations: 24.41 kB / 0.5741 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.5785, allocations: 68.45 kB / 0.5742 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.5785, allocations: 58.8 kB / 0.5742 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.5788, allocations: 161.8 kB / 0.5744 GB, free: 41.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5788, allocations: 0 / 0.5744 GB, free: 41.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5788, allocations: 4 kB / 0.5744 GB, free: 41.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.5788, allocations: 1.375 kB / 0.5744 GB, free: 41.27 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.0006469/0.5795, allocations: 488.8 kB / 0.5748 GB, free: 40.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5795, allocations: 9.25 kB / 0.5748 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.5796, allocations: 22.28 kB / 0.5749 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.5801, allocations: 333.4 kB / 0.5752 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.5801, allocations: 5.719 kB / 0.5752 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.5801, allocations: 5.531 kB / 0.5752 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.5802, allocations: 55.23 kB / 0.5752 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5803, allocations: 0 / 0.5752 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.5803, allocations: 1.812 kB / 0.5752 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5803, allocations: 0 / 0.5752 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.842e-05/0.5804, allocations: 15.33 kB / 0.5753 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.5806, allocations: 208.6 kB / 0.5755 GB, free: 40.19 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.5807, allocations: 50.53 kB / 0.5755 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.5808, allocations: 29.09 kB / 0.5755 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.5808, allocations: 1.219 kB / 0.5755 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.581, allocations: 68.45 kB / 0.5756 GB, free: 40.06 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.581, allocations: 0 / 0.5756 GB, free: 40.06 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002972/0.5813, allocations: 99.23 kB / 0.5757 GB, free: 40 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.5813, allocations: 60.53 kB / 0.5758 GB, free: 39.93 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.5816, allocations: 279.4 kB / 0.576 GB, free: 39.74 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.5816, allocations: 34.78 kB / 0.5761 GB, free: 39.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.5817, allocations: 131.2 kB / 0.5762 GB, free: 39.58 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.5818, allocations: 17.14 kB / 0.5762 GB, free: 39.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.5818, allocations: 22.92 kB / 0.5762 GB, free: 39.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.5819, allocations: 330.6 kB / 0.5765 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.163e-05/0.5819, allocations: 15.2 kB / 0.5765 GB, free: 39.21 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.582, allocations: 39.05 kB / 0.5766 GB, free: 39.18 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/0.5821, allocations: 39.78 kB / 0.5766 GB, free: 39.15 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5821, allocations: 1.062 kB / 0.5766 GB, free: 39.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001588/0.5823, allocations: 106.6 kB / 0.5767 GB, free: 39.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5823, allocations: 5.875 kB / 0.5767 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5823, allocations: 1.25 kB / 0.5767 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5823, allocations: 4.031 kB / 0.5767 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.5824, allocations: 9.062 kB / 0.5767 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5824, allocations: 1.188 kB / 0.5767 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.5825, allocations: 6.422 kB / 0.5768 GB, free: 39.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.5825, allocations: 2.375 kB / 0.5768 GB, free: 39.06 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 0.0001037/0.5826, allocations: 150.5 kB / 0.5769 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.5826, allocations: 21.41 kB / 0.5769 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.5827, allocations: 24.61 kB / 0.5769 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5827, allocations: 1.062 kB / 0.5769 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5827, allocations: 4 kB / 0.5769 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5827, allocations: 7.969 kB / 0.577 GB, free: 38.89 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.5829, allocations: 212.7 kB / 0.5772 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5829, allocations: 3.984 kB / 0.5772 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.5829, allocations: 3.375 kB / 0.5772 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5829, allocations: 1.156 kB / 0.5772 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.5829, allocations: 0.9688 kB / 0.5772 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5829, allocations: 0 / 0.5772 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.583, allocations: 1 kB / 0.5772 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.5831, allocations: 133.5 kB / 0.5773 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.5832, allocations: 95.52 kB / 0.5774 GB, free: 38.44 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.5832, allocations: 5.109 kB / 0.5774 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.5833, allocations: 2.375 kB / 0.5774 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.5833, allocations: 2.188 kB / 0.5774 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.5833, allocations: 2.406 kB / 0.5774 GB, free: 38.43 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001742/0.5835, allocations: 204.1 kB / 0.5776 GB, free: 38.3 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5835, allocations: 0 / 0.5776 GB, free: 38.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002163/0.5838, allocations: 27.05 kB / 0.5776 GB, free: 38.29 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.0009266/0.5847, allocations: 412.4 kB / 0.578 GB, free: 38.09 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.5849, allocations: 47.17 kB / 0.5781 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5849, allocations: 0 / 0.5781 GB, free: 38.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-05/0.5849, allocations: 19.45 kB / 0.5781 GB, free: 38.06 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.5852, allocations: 42.7 kB / 0.5781 GB, free: 38.04 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.5857, allocations: 327.7 kB / 0.5784 GB, free: 37.81 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.5859, allocations: 0.739 MB / 0.5791 GB, free: 37.08 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.371e-05/0.586, allocations: 37.47 kB / 0.5792 GB, free: 37.06 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.5861, allocations: 29.72 kB / 0.5792 GB, free: 37.05 MB / 462.3 MB Notification: Performance of SimCode: time 2.51e-07/0.5861, allocations: 0 / 0.5792 GB, free: 37.05 MB / 462.3 MB Notification: Performance of Templates: time 0.004878/0.5909, allocations: 1.71 MB / 0.5809 GB, free: 36.19 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 -s gbode -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