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.001416/0.001416, allocations: 103.3 kB / 16.51 MB, free: 6.688 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.00148/0.00148, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.161/1.161, allocations: 119.3 MB / 410.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.89 kB / 0.4904 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5573, allocations: 80.68 MB / 0.5692 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002788/0.5601, allocations: 1.634 MB / 0.5707 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.5614, allocations: 0.876 MB / 0.5716 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.5615, allocations: 1.375 kB / 0.5716 GB, free: 41.06 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.5625, allocations: 0.8906 MB / 0.5725 GB, free: 40.61 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007077/0.5633, allocations: 0.5175 MB / 0.573 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.5636, allocations: 95.11 kB / 0.5731 GB, free: 40.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.5647, allocations: 1.156 MB / 0.5742 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.5647, allocations: 4.875 kB / 0.5742 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006533/0.5654, allocations: 0.5757 MB / 0.5748 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.5665, allocations: 0.9843 MB / 0.5757 GB, free: 39.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.5666, allocations: 64.44 kB / 0.5758 GB, free: 39.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.5669, allocations: 95.72 kB / 0.5759 GB, free: 39 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002575/0.5695, allocations: 2.504 MB / 0.5783 GB, free: 37.78 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008541/0.5703, allocations: 1.437 MB / 0.5797 GB, free: 36.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.5732, allocations: 3.048 MB / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.5732, allocations: 0 / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5733, allocations: 0 / 0.5827 GB, free: 34.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.422e-05/0.5733, allocations: 0 / 0.5827 GB, free: 34.57 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.008274/0.5816, allocations: 5.179 MB / 0.5878 GB, free: 30.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.5817, allocations: 13.88 kB / 0.5878 GB, free: 30.64 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.5817, allocations: 35.8 kB / 0.5878 GB, free: 30.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5829, allocations: 0.5573 MB / 0.5884 GB, free: 30.1 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01203/0.5949, allocations: 6.547 MB / 0.5947 GB, free: 23.47 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.595, allocations: 4.359 kB / 0.5948 GB, free: 23.46 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.595, allocations: 3.938 kB / 0.5948 GB, free: 23.46 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.5952, allocations: 57.61 kB / 0.5948 GB, free: 23.4 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.5952, allocations: 0 / 0.5948 GB, free: 23.4 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.5952, allocations: 0 / 0.5948 GB, free: 23.4 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.5952, allocations: 4 kB / 0.5948 GB, free: 23.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.075e-05/0.5953, allocations: 19.92 kB / 0.5948 GB, free: 23.38 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.5979, allocations: 1.855 MB / 0.5966 GB, free: 21.47 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.598, allocations: 58.56 kB / 0.5967 GB, free: 21.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.5981, allocations: 20.84 kB / 0.5967 GB, free: 21.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.5981, allocations: 0 / 0.5967 GB, free: 21.38 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.5984, allocations: 67.33 kB / 0.5968 GB, free: 21.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.5984, allocations: 0 / 0.5968 GB, free: 21.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0008898/0.5993, allocations: 0.6544 MB / 0.5974 GB, free: 20.64 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5993, allocations: 55.41 kB / 0.5975 GB, free: 20.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006419/0.6058, allocations: 6.439 MB / 0.6038 GB, free: 14.18 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.6058, allocations: 25.7 kB / 0.6038 GB, free: 14.14 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.6075, allocations: 2.668 MB / 0.6064 GB, free: 11.47 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.6076, allocations: 15.8 kB / 0.6064 GB, free: 11.46 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.6076, allocations: 21.7 kB / 0.6064 GB, free: 11.43 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.6077, allocations: 310 kB / 0.6067 GB, free: 11.12 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.6078, allocations: 12.25 kB / 0.6067 GB, free: 11.11 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.6078, allocations: 33.64 kB / 0.6068 GB, free: 11.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/0.6079, allocations: 49.7 kB / 0.6068 GB, free: 11.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6079, allocations: 3.938 kB / 0.6068 GB, free: 11.01 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008104/0.6088, allocations: 0.6426 MB / 0.6075 GB, free: 10.36 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.6088, allocations: 4 kB / 0.6075 GB, free: 10.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6088, allocations: 0 / 0.6075 GB, free: 10.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.6088, allocations: 4 kB / 0.6075 GB, free: 10.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.144e-05/0.6089, allocations: 11.98 kB / 0.6075 GB, free: 10.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6089, allocations: 0 / 0.6075 GB, free: 10.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.6094, allocations: 23.94 kB / 0.6075 GB, free: 10.31 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.6095, allocations: 8.031 kB / 0.6075 GB, free: 10.3 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.001641/0.6111, allocations: 1.279 MB / 0.6087 GB, free: 9.016 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/0.6115, allocations: 0.5863 MB / 0.6093 GB, free: 8.422 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.6122, allocations: 0.652 MB / 0.61 GB, free: 7.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6122, allocations: 0 / 0.61 GB, free: 7.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6123, allocations: 3.938 kB / 0.61 GB, free: 7.766 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6123, allocations: 3.938 kB / 0.61 GB, free: 7.762 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.6142, allocations: 2.027 MB / 0.6119 GB, free: 5.688 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6142, allocations: 0 / 0.6119 GB, free: 5.688 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.6142, allocations: 7.984 kB / 0.612 GB, free: 5.68 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.6142, allocations: 4 kB / 0.612 GB, free: 5.676 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.6142, allocations: 4 kB / 0.612 GB, free: 5.672 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6142, allocations: 0 / 0.612 GB, free: 5.672 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6143, allocations: 0 / 0.612 GB, free: 5.672 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.6149, allocations: 0.7213 MB / 0.6127 GB, free: 4.926 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.6155, allocations: 0.517 MB / 0.6132 GB, free: 4.383 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.6158, allocations: 19.98 kB / 0.6132 GB, free: 4.363 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.6161, allocations: 20 kB / 0.6132 GB, free: 4.344 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.6162, allocations: 4 kB / 0.6132 GB, free: 4.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.6162, allocations: 3.984 kB / 0.6132 GB, free: 4.336 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005311/0.6215, allocations: 4.424 MB / 0.6175 GB, free: 15.95 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.014e-06/0.6216, allocations: 0 / 0.6175 GB, free: 15.95 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0007139/0.6223, allocations: 175.9 kB / 0.6177 GB, free: 15.78 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.002101/0.6244, allocations: 1.591 MB / 0.6193 GB, free: 14.32 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.6246, allocations: 43.91 kB / 0.6193 GB, free: 14.27 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6246, allocations: 0 / 0.6193 GB, free: 14.27 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.6247, allocations: 19.98 kB / 0.6193 GB, free: 14.25 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.6263, allocations: 457.3 kB / 0.6198 GB, free: 13.8 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/0.7557, allocations: 47.8 MB / 0.6664 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003007/0.7588, allocations: 2.737 MB / 0.6691 GB, free: 7.898 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.004054/0.7628, allocations: 1.414 MB / 0.6705 GB, free: 6.477 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003135/0.766, allocations: 2.377 MB / 0.6728 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of SimCode: time 1.944e-06/0.766, allocations: 0 / 0.6728 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/0.8911, allocations: 72.45 MB / 0.7436 GB, free: 11.73 MB / 0.592 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.8914, allocations: 283.3 kB / 0.7438 GB, free: 11.35 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.488/6.38, allocations: 0 / 0.7438 GB, free: 11.35 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