Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 91.31 kB / 16.65 MB, free: 6.535 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.001014/0.001014, allocations: 172.9 kB / 17.56 MB, free: 6.184 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.37/1.37, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9851/0.9851, allocations: 120.5 MB / 413.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 8 kB / 0.495 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5401, allocations: 82.83 MB / 0.5759 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.001771/0.5419, allocations: 1.286 MB / 0.5772 GB, free: 40.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.5432, allocations: 0.8569 MB / 0.578 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.5433, allocations: 3.938 kB / 0.578 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.5441, allocations: 0.894 MB / 0.5789 GB, free: 39.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.5447, allocations: 0.5166 MB / 0.5794 GB, free: 38.81 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.545, allocations: 87.33 kB / 0.5795 GB, free: 38.76 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009488/0.546, allocations: 1.164 MB / 0.5806 GB, free: 38.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.5461, allocations: 4.625 kB / 0.5806 GB, free: 38.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.5468, allocations: 0.5678 MB / 0.5811 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009746/0.5477, allocations: 0.992 MB / 0.5821 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.5479, allocations: 64.38 kB / 0.5822 GB, free: 37.5 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.5481, allocations: 91.55 kB / 0.5823 GB, free: 37.48 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002355/0.5505, allocations: 2.5 MB / 0.5847 GB, free: 36.27 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.5517, allocations: 1.462 MB / 0.5861 GB, free: 35 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002522/0.5543, allocations: 3.035 MB / 0.5891 GB, free: 32.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5543, allocations: 4 kB / 0.5891 GB, free: 32.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5543, allocations: 0 / 0.5891 GB, free: 32.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.414e-05/0.5544, allocations: 0 / 0.5891 GB, free: 32.58 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.004812/0.5592, allocations: 4.585 MB / 0.5936 GB, free: 27.91 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5593, allocations: 8.031 kB / 0.5936 GB, free: 27.9 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.5593, allocations: 38.75 kB / 0.5936 GB, free: 27.86 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.56, allocations: 0.556 MB / 0.5942 GB, free: 27.29 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008528/0.5685, allocations: 6.547 MB / 0.6006 GB, free: 20.66 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.5686, allocations: 12.38 kB / 0.6006 GB, free: 20.65 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.5686, allocations: 3.938 kB / 0.6006 GB, free: 20.65 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.5688, allocations: 49.61 kB / 0.6006 GB, free: 20.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5688, allocations: 0 / 0.6006 GB, free: 20.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5688, allocations: 4 kB / 0.6006 GB, free: 20.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5688, allocations: 0 / 0.6006 GB, free: 20.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.5689, allocations: 19.92 kB / 0.6006 GB, free: 20.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.571, allocations: 1.859 MB / 0.6025 GB, free: 18.66 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.5712, allocations: 58.55 kB / 0.6025 GB, free: 18.6 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.5713, allocations: 20.8 kB / 0.6025 GB, free: 18.57 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.5713, allocations: 0 / 0.6025 GB, free: 18.57 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.5715, allocations: 71.33 kB / 0.6026 GB, free: 18.49 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.5715, allocations: 0 / 0.6026 GB, free: 18.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0007901/0.5723, allocations: 0.6583 MB / 0.6033 GB, free: 17.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.5724, allocations: 55.41 kB / 0.6033 GB, free: 17.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006051/0.5784, allocations: 6.435 MB / 0.6096 GB, free: 11.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.5785, allocations: 33.7 kB / 0.6096 GB, free: 11.32 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001684/0.5802, allocations: 2.657 MB / 0.6122 GB, free: 8.664 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.5803, allocations: 19.8 kB / 0.6122 GB, free: 8.645 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.5803, allocations: 9.719 kB / 0.6122 GB, free: 8.629 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.5804, allocations: 310 kB / 0.6125 GB, free: 8.32 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.07e-05/0.5804, allocations: 19.98 kB / 0.6126 GB, free: 8.301 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.5805, allocations: 25.72 kB / 0.6126 GB, free: 8.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.721e-05/0.5806, allocations: 45.64 kB / 0.6126 GB, free: 8.219 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5806, allocations: 3.938 kB / 0.6126 GB, free: 8.215 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008705/0.5815, allocations: 0.6465 MB / 0.6133 GB, free: 7.555 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5815, allocations: 4 kB / 0.6133 GB, free: 7.551 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5815, allocations: 4.031 kB / 0.6133 GB, free: 7.547 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.5816, allocations: 4 kB / 0.6133 GB, free: 7.543 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.5816, allocations: 8 kB / 0.6133 GB, free: 7.535 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5817, allocations: 0 / 0.6133 GB, free: 7.535 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.5821, allocations: 20 kB / 0.6133 GB, free: 7.516 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.5821, allocations: 0 / 0.6133 GB, free: 7.516 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.001468/0.5836, allocations: 1.284 MB / 0.6146 GB, free: 6.223 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.584, allocations: 0.5902 MB / 0.6151 GB, free: 5.625 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.5845, allocations: 0.6481 MB / 0.6158 GB, free: 4.977 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5845, allocations: 8.297 kB / 0.6158 GB, free: 4.969 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5845, allocations: 3.938 kB / 0.6158 GB, free: 4.965 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5846, allocations: 0 / 0.6158 GB, free: 4.965 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.586, allocations: 2.035 MB / 0.6178 GB, free: 2.883 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.586, allocations: 0 / 0.6178 GB, free: 2.883 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.586, allocations: 7.938 kB / 0.6178 GB, free: 2.875 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.586, allocations: 0 / 0.6178 GB, free: 2.875 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.5861, allocations: 4 kB / 0.6178 GB, free: 2.871 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5861, allocations: 0 / 0.6178 GB, free: 2.871 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5861, allocations: 0 / 0.6178 GB, free: 2.871 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.5866, allocations: 0.7212 MB / 0.6185 GB, free: 2.125 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.5871, allocations: 0.5716 MB / 0.619 GB, free: 1.527 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.5874, allocations: 20 kB / 0.6191 GB, free: 1.508 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.5877, allocations: 16 kB / 0.6191 GB, free: 1.492 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.5877, allocations: 7.984 kB / 0.6191 GB, free: 1.484 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.5877, allocations: 7.938 kB / 0.6191 GB, free: 1.477 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005963/0.5937, allocations: 4.416 MB / 0.6234 GB, free: 13.1 MB / 478.3 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5938, allocations: 4 kB / 0.6234 GB, free: 13.1 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0009219/0.5947, allocations: 180 kB / 0.6236 GB, free: 12.92 MB / 478.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.002087/0.5968, allocations: 1.583 MB / 0.6251 GB, free: 11.46 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.597, allocations: 39.92 kB / 0.6252 GB, free: 11.42 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.597, allocations: 8 kB / 0.6252 GB, free: 11.41 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.5971, allocations: 19.98 kB / 0.6252 GB, free: 11.39 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.5984, allocations: 455.5 kB / 0.6256 GB, free: 10.95 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1176/0.716, allocations: 47.8 MB / 0.6723 GB, free: 7.789 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/0.7198, allocations: 2.733 MB / 0.675 GB, free: 5.031 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.004291/0.7241, allocations: 1.411 MB / 0.6763 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003256/0.7274, allocations: 2.381 MB / 0.6787 GB, free: 1.23 MB / 0.5139 GB Notification: Performance of SimCode: time 2.946e-06/0.7274, allocations: 0 / 0.6787 GB, free: 1.23 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/0.852, allocations: 71.86 MB / 0.7488 GB, free: 9.48 MB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/0.8523, allocations: 273.2 kB / 0.7491 GB, free: 9.105 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.989/4.841, allocations: 0 / 0.7491 GB, free: 9.105 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches