Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_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.001124/0.001124, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001075/0.001075, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.137/1.137, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7497/0.7497, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3775, allocations: 80.7 MB / 0.5698 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.001849/0.3794, allocations: 1.4 MB / 0.5712 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.3801, allocations: 0.5738 MB / 0.5718 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.3801, allocations: 0 / 0.5718 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.3804, allocations: 444.7 kB / 0.5722 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.3808, allocations: 498.6 kB / 0.5727 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.381, allocations: 76.62 kB / 0.5727 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000592/0.3816, allocations: 1.122 MB / 0.5738 GB, free: 40.73 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.3816, allocations: 14.17 kB / 0.5739 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.382, allocations: 0.5552 MB / 0.5744 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006466/0.3826, allocations: 1.04 MB / 0.5754 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.3828, allocations: 70.72 kB / 0.5755 GB, free: 40.04 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.383, allocations: 137.7 kB / 0.5756 GB, free: 40 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.3849, allocations: 2.489 MB / 0.578 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0006123/0.3856, allocations: 1.421 MB / 0.5794 GB, free: 37.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.3871, allocations: 3.105 MB / 0.5825 GB, free: 35.61 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3872, allocations: 1.094 kB / 0.5825 GB, free: 35.61 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3872, allocations: 4 kB / 0.5825 GB, free: 35.6 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.886e-05/0.3872, allocations: 0 / 0.5825 GB, free: 35.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003704/0.3909, allocations: 5.175 MB / 0.5875 GB, free: 31.41 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.391, allocations: 15.89 kB / 0.5875 GB, free: 31.39 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.446e-05/0.391, allocations: 34.75 kB / 0.5876 GB, free: 31.35 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.3913, allocations: 0.5561 MB / 0.5881 GB, free: 30.79 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005826/0.3972, allocations: 6.535 MB / 0.5945 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3972, allocations: 384 / 0.5945 GB, free: 24.17 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.3972, allocations: 16.38 kB / 0.5945 GB, free: 24.15 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3974, allocations: 245.6 kB / 0.5947 GB, free: 23.91 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3975, allocations: 0 / 0.5947 GB, free: 23.91 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3975, allocations: 20 kB / 0.5948 GB, free: 23.89 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3975, allocations: 0 / 0.5948 GB, free: 23.89 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3977, allocations: 128 kB / 0.5949 GB, free: 23.76 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.3987, allocations: 1.858 MB / 0.5967 GB, free: 21.86 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3989, allocations: 110.6 kB / 0.5968 GB, free: 21.74 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.399, allocations: 92.94 kB / 0.5969 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-06/0.399, allocations: 0 / 0.5969 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.3992, allocations: 260.9 kB / 0.5971 GB, free: 21.37 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.3992, allocations: 0 / 0.5971 GB, free: 21.37 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.00089/0.4001, allocations: 1.168 MB / 0.5983 GB, free: 20.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.4002, allocations: 81.11 kB / 0.5984 GB, free: 20.09 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004308/0.4045, allocations: 6.271 MB / 0.6045 GB, free: 13.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4045, allocations: 45.7 kB / 0.6045 GB, free: 13.81 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.00139/0.4059, allocations: 2.524 MB / 0.607 GB, free: 11.28 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.406, allocations: 35.75 kB / 0.607 GB, free: 11.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4061, allocations: 129.7 kB / 0.6072 GB, free: 11.11 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.4061, allocations: 313.9 kB / 0.6075 GB, free: 10.8 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.4062, allocations: 80 kB / 0.6075 GB, free: 10.72 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.4063, allocations: 79.98 kB / 0.6076 GB, free: 10.64 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4066, allocations: 224.3 kB / 0.6078 GB, free: 10.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4066, allocations: 96 / 0.6078 GB, free: 10.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007216/0.4073, allocations: 1.101 MB / 0.6089 GB, free: 9.289 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4073, allocations: 33.7 kB / 0.6089 GB, free: 9.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.4073, allocations: 0 / 0.6089 GB, free: 9.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4074, allocations: 0 / 0.6089 GB, free: 9.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.4074, allocations: 7.984 kB / 0.6089 GB, free: 9.242 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4074, allocations: 0 / 0.6089 GB, free: 9.242 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4077, allocations: 27.91 kB / 0.609 GB, free: 9.215 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.4079, allocations: 220 kB / 0.6092 GB, free: 9 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.001003/0.4089, allocations: 1.342 MB / 0.6105 GB, free: 7.645 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.4092, allocations: 0.5746 MB / 0.611 GB, free: 7.062 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.4096, allocations: 0.6441 MB / 0.6117 GB, free: 6.41 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4096, allocations: 0 / 0.6117 GB, free: 6.41 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4096, allocations: 0 / 0.6117 GB, free: 6.41 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4096, allocations: 4 kB / 0.6117 GB, free: 6.406 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4107, allocations: 2.022 MB / 0.6136 GB, free: 4.336 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4107, allocations: 7.922 kB / 0.6137 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.4108, allocations: 4 kB / 0.6137 GB, free: 4.324 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4108, allocations: 4 kB / 0.6137 GB, free: 4.32 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.4108, allocations: 48 kB / 0.6137 GB, free: 4.273 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4108, allocations: 8 kB / 0.6137 GB, free: 4.266 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4108, allocations: 0 / 0.6137 GB, free: 4.266 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.4116, allocations: 1.164 MB / 0.6149 GB, free: 3.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.412, allocations: 0.564 MB / 0.6154 GB, free: 2.48 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.4122, allocations: 16 kB / 0.6154 GB, free: 2.465 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.4125, allocations: 20 kB / 0.6154 GB, free: 2.445 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.4126, allocations: 11.86 kB / 0.6155 GB, free: 2.434 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.4127, allocations: 224 kB / 0.6157 GB, free: 2.215 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.003741/0.4164, allocations: 4.332 MB / 0.6199 GB, free: 13.92 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4164, allocations: 0 / 0.6199 GB, free: 13.92 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0004361/0.4169, allocations: 184 kB / 0.6201 GB, free: 13.74 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001362/0.4182, allocations: 1.786 MB / 0.6218 GB, free: 11.91 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.4186, allocations: 279.3 kB / 0.6221 GB, free: 11.63 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4187, allocations: 4 kB / 0.6221 GB, free: 11.62 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.4189, allocations: 187.4 kB / 0.6223 GB, free: 11.43 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4199, allocations: 441.1 kB / 0.6227 GB, free: 11 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03977/0.4597, allocations: 47.5 MB / 0.6691 GB, free: 8.156 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/0.4617, allocations: 2.721 MB / 0.6717 GB, free: 5.41 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.00256/0.4643, allocations: 1.188 MB / 0.6729 GB, free: 4.215 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/0.4658, allocations: 2.089 MB / 0.6749 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of SimCode: time 3.81e-07/0.4659, allocations: 0 / 0.6749 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.5675, allocations: 78.2 MB / 0.7513 GB, free: 3.926 MB / 0.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.261, allocations: 11.3 kB / 0.7513 GB, free: 3.918 MB / 0.592 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches