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.001151/0.001151, allocations: 112.9 kB / 16.62 MB, free: 6.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.001248/0.001249, allocations: 189.8 kB / 17.55 MB, free: 5.801 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.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9626/0.9626, allocations: 119.3 MB / 410.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 0.4905 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5074, allocations: 80.68 MB / 0.5693 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002982/0.5105, allocations: 1.641 MB / 0.5709 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.5117, allocations: 0.8791 MB / 0.5718 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.5118, allocations: 0 / 0.5718 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0008433/0.5127, allocations: 0.8983 MB / 0.5727 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.5133, allocations: 0.5121 MB / 0.5732 GB, free: 40.78 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.5136, allocations: 87.08 kB / 0.5733 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009399/0.5145, allocations: 1.165 MB / 0.5744 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.5146, allocations: 4.219 kB / 0.5744 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/0.5151, allocations: 0.5853 MB / 0.575 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008648/0.516, allocations: 1.046 MB / 0.576 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.5162, allocations: 65.5 kB / 0.576 GB, free: 39.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.5164, allocations: 98.08 kB / 0.5761 GB, free: 39.44 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002277/0.5187, allocations: 2.503 MB / 0.5786 GB, free: 38.21 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.5196, allocations: 1.438 MB / 0.58 GB, free: 36.98 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.5225, allocations: 3.11 MB / 0.583 GB, free: 35.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.5225, allocations: 1.125 kB / 0.583 GB, free: 35.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5225, allocations: 0 / 0.583 GB, free: 35.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.52e-05/0.5226, allocations: 0 / 0.583 GB, free: 35.02 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.005426/0.528, allocations: 5.185 MB / 0.5881 GB, free: 30.49 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5281, allocations: 11.89 kB / 0.5881 GB, free: 30.48 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.5281, allocations: 30.75 kB / 0.5881 GB, free: 30.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.5285, allocations: 0.5599 MB / 0.5887 GB, free: 29.88 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.5354, allocations: 6.544 MB / 0.5951 GB, free: 23.25 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.5354, allocations: 384 / 0.5951 GB, free: 23.25 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.5354, allocations: 7.938 kB / 0.5951 GB, free: 23.24 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.5356, allocations: 53.55 kB / 0.5951 GB, free: 23.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5356, allocations: 7.984 kB / 0.5951 GB, free: 23.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.5357, allocations: 0 / 0.5951 GB, free: 23.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.5357, allocations: 4 kB / 0.5951 GB, free: 23.17 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.5357, allocations: 15.98 kB / 0.5952 GB, free: 23.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.5373, allocations: 1.859 MB / 0.597 GB, free: 21.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.5375, allocations: 50.56 kB / 0.597 GB, free: 21.19 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.981e-05/0.5375, allocations: 24.84 kB / 0.597 GB, free: 21.16 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5376, allocations: 0 / 0.597 GB, free: 21.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.5378, allocations: 67.33 kB / 0.5971 GB, free: 21.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.5378, allocations: 4 kB / 0.5971 GB, free: 21.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0006537/0.5385, allocations: 0.6544 MB / 0.5978 GB, free: 20.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.5385, allocations: 55.39 kB / 0.5978 GB, free: 20.35 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005178/0.5437, allocations: 6.442 MB / 0.6041 GB, free: 13.95 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.5437, allocations: 29.7 kB / 0.6041 GB, free: 13.91 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.5453, allocations: 2.665 MB / 0.6067 GB, free: 11.25 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.5454, allocations: 15.8 kB / 0.6067 GB, free: 11.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.5454, allocations: 21.72 kB / 0.6068 GB, free: 11.2 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.5455, allocations: 306 kB / 0.6071 GB, free: 10.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/0.5455, allocations: 19.92 kB / 0.6071 GB, free: 10.88 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.088e-05/0.5456, allocations: 25.72 kB / 0.6071 GB, free: 10.85 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.5457, allocations: 53.64 kB / 0.6071 GB, free: 10.79 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5457, allocations: 3.938 kB / 0.6072 GB, free: 10.79 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005186/0.5462, allocations: 0.6387 MB / 0.6078 GB, free: 10.13 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5462, allocations: 11.98 kB / 0.6078 GB, free: 10.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5463, allocations: 0 / 0.6078 GB, free: 10.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.5463, allocations: 0 / 0.6078 GB, free: 10.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.5464, allocations: 8 kB / 0.6078 GB, free: 10.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5464, allocations: 4.031 kB / 0.6078 GB, free: 10.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.5468, allocations: 20 kB / 0.6078 GB, free: 10.09 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.5468, allocations: 4 kB / 0.6078 GB, free: 10.09 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.001152/0.5479, allocations: 1.279 MB / 0.6091 GB, free: 8.797 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.5483, allocations: 0.5941 MB / 0.6096 GB, free: 8.195 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.5488, allocations: 0.6481 MB / 0.6103 GB, free: 7.547 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5488, allocations: 0 / 0.6103 GB, free: 7.547 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5488, allocations: 7.938 kB / 0.6103 GB, free: 7.539 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5489, allocations: 3.984 kB / 0.6103 GB, free: 7.535 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.5502, allocations: 2.027 MB / 0.6123 GB, free: 5.461 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5502, allocations: 0 / 0.6123 GB, free: 5.461 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.5502, allocations: 4.312 kB / 0.6123 GB, free: 5.457 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5502, allocations: 0 / 0.6123 GB, free: 5.457 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5503, allocations: 8 kB / 0.6123 GB, free: 5.449 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5503, allocations: 0 / 0.6123 GB, free: 5.449 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5503, allocations: 0 / 0.6123 GB, free: 5.449 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.5508, allocations: 0.7173 MB / 0.613 GB, free: 4.707 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/0.5512, allocations: 0.5209 MB / 0.6135 GB, free: 4.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.5514, allocations: 20 kB / 0.6135 GB, free: 4.141 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.5518, allocations: 20 kB / 0.6135 GB, free: 4.121 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.5518, allocations: 7.922 kB / 0.6135 GB, free: 4.113 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.5518, allocations: 4 kB / 0.6135 GB, free: 4.109 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.003881/0.5557, allocations: 4.412 MB / 0.6179 GB, free: 15.73 MB / 478.3 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5557, allocations: 0 / 0.6179 GB, free: 15.73 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005103/0.5562, allocations: 180 kB / 0.618 GB, free: 15.56 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.002179/0.5584, allocations: 1.597 MB / 0.6196 GB, free: 14.09 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.5586, allocations: 43.92 kB / 0.6196 GB, free: 14.05 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5586, allocations: 0 / 0.6196 GB, free: 14.05 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.5587, allocations: 19.98 kB / 0.6196 GB, free: 14.03 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5601, allocations: 453.4 kB / 0.6201 GB, free: 13.58 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/0.6702, allocations: 47.8 MB / 0.6668 GB, free: 10.44 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.6724, allocations: 2.741 MB / 0.6694 GB, free: 7.672 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.003281/0.6757, allocations: 1.375 MB / 0.6708 GB, free: 6.289 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/0.6782, allocations: 2.381 MB / 0.6731 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of SimCode: time 8.32e-07/0.6782, allocations: 0 / 0.6731 GB, free: 3.906 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.7856, allocations: 73.26 MB / 0.7446 GB, free: 10.75 MB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.7859, allocations: 274 kB / 0.7449 GB, free: 10.37 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.039/4.825, allocations: 0 / 0.7449 GB, free: 10.37 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