Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.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_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000",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.00257/0.00257, allocations: 86.16 kB / 16.31 MB, free: 6.453 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.00225/0.00225, allocations: 179.5 kB / 17.21 MB, free: 6.328 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.535/1.535, allocations: 223.3 MB / 241.2 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.066/1.066, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 8 kB / 0.4944 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1904, allocations: 82.85 MB / 0.5753 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.001669/0.1922, allocations: 1.126 MB / 0.5764 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000961/0.1932, allocations: 0.5186 MB / 0.5769 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1932, allocations: 0 / 0.5769 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.1962, allocations: 3.789 MB / 0.5806 GB, free: 2.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.623/0.8192, allocations: 3.826 MB / 0.5843 GB, free: 14.36 MB / 446.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.8198, allocations: 58.88 kB / 0.5844 GB, free: 14.36 MB / 446.3 MB Notification: Performance of NFFlatten.flatten: time 0.01757/0.8374, allocations: 7.253 MB / 0.5914 GB, free: 13.65 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.8375, allocations: 3.219 kB / 0.5914 GB, free: 13.65 MB / 446.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01449/0.852, allocations: 4.432 MB / 0.5958 GB, free: 11.67 MB / 446.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02361/0.8757, allocations: 8.143 MB / 0.6037 GB, free: 8.418 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.004906/0.8806, allocations: 0.4901 MB / 0.6042 GB, free: 8.418 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004964/0.8856, allocations: 0.5515 MB / 0.6047 GB, free: 8.391 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.02264/0.9083, allocations: 19.91 MB / 0.6242 GB, free: 7.246 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.008471/0.9168, allocations: 3.949 MB / 0.628 GB, free: 3.27 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02177/0.9386, allocations: 18 MB / 0.6456 GB, free: 1.227 MB / 478.3 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.9387, allocations: 0 / 0.6456 GB, free: 1.227 MB / 478.3 MB Notification: Performance of FrontEnd: time 4.509e-06/0.9387, allocations: 0 / 0.6456 GB, free: 1.227 MB / 478.3 MB Notification: Performance of Transformations before backend: time 0.001098/0.9398, allocations: 0 / 0.6456 GB, free: 1.227 MB / 478.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.05633/0.9961, allocations: 34.59 MB / 0.6794 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.9962, allocations: 8.031 kB / 0.6794 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.387e-05/0.9963, allocations: 38.55 kB / 0.6794 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/1.006, allocations: 4.41 MB / 0.6837 GB, free: 9.77 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1417/1.148, allocations: 49.12 MB / 0.7317 GB, free: 8.348 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/1.148, allocations: 4.656 kB / 0.7317 GB, free: 8.344 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/1.149, allocations: 128 kB / 0.7318 GB, free: 8.219 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.15, allocations: 1.512 MB / 0.7333 GB, free: 6.699 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.15, allocations: 3.938 kB / 0.7333 GB, free: 6.695 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/1.151, allocations: 125.4 kB / 0.7334 GB, free: 6.574 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.151, allocations: 7.953 kB / 0.7335 GB, free: 6.566 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/1.152, allocations: 0.875 MB / 0.7343 GB, free: 5.691 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/1.179, allocations: 13.85 MB / 0.7478 GB, free: 7.781 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/1.181, allocations: 0.5297 MB / 0.7484 GB, free: 7.246 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/1.182, allocations: 0.5204 MB / 0.7489 GB, free: 6.723 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/1.182, allocations: 0 / 0.7489 GB, free: 6.723 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/1.184, allocations: 1.315 MB / 0.7501 GB, free: 5.391 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/1.184, allocations: 0 / 0.7501 GB, free: 5.391 MB / 0.5764 GB Notification: Performance of matching and sorting (n=8): time 0.01184/1.195, allocations: 8.32 MB / 0.7583 GB, free: 13 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/1.196, allocations: 88.72 kB / 0.7584 GB, free: 12.9 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1086/1.304, allocations: 49.46 MB / 0.8067 GB, free: 11.85 MB / 0.6389 GB Notification: Performance of collectPreVariables (initialization): time 0.001196/1.305, allocations: 153.7 kB / 0.8068 GB, free: 11.69 MB / 0.6389 GB Notification: Performance of collectInitialEqns (initialization): time 0.03437/1.34, allocations: 22.54 MB / 0.8288 GB, free: 5.133 MB / 0.6545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/1.341, allocations: 151.6 kB / 0.829 GB, free: 4.984 MB / 0.6545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008626/1.342, allocations: 124 kB / 0.8291 GB, free: 4.863 MB / 0.6545 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.342, allocations: 310 kB / 0.8294 GB, free: 4.555 MB / 0.6545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.343, allocations: 0.5039 MB / 0.8299 GB, free: 4.051 MB / 0.6545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/1.344, allocations: 0.5117 MB / 0.8304 GB, free: 3.539 MB / 0.6545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/1.345, allocations: 0.5329 MB / 0.8309 GB, free: 3 MB / 0.6545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.345, allocations: 0 / 0.8309 GB, free: 3 MB / 0.6545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.6799/2.025, allocations: 7.805 MB / 0.8385 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/2.025, allocations: 37.12 kB / 0.8385 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/2.025, allocations: 1.75 kB / 0.8385 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/2.025, allocations: 0 / 0.8385 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/2.025, allocations: 5.344 kB / 0.8385 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/2.025, allocations: 1.375 kB / 0.8386 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/2.031, allocations: 132.8 kB / 0.8387 GB, free: 174.7 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002706/2.034, allocations: 1.719 MB / 0.8404 GB, free: 174.7 MB / 0.6548 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02185/2.056, allocations: 9.67 MB / 0.8498 GB, free: 174.5 MB / 0.6548 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009697/2.066, allocations: 4.525 MB / 0.8542 GB, free: 172.1 MB / 0.6548 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/2.084, allocations: 5.116 MB / 0.8592 GB, free: 171.6 MB / 0.6548 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/2.084, allocations: 0 / 0.8592 GB, free: 171.6 MB / 0.6548 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/2.084, allocations: 1.688 kB / 0.8592 GB, free: 171.6 MB / 0.6548 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/2.084, allocations: 3 kB / 0.8592 GB, free: 171.6 MB / 0.6548 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03955/2.123, allocations: 15.07 MB / 0.8739 GB, free: 170.6 MB / 0.6548 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/2.123, allocations: 3.375 kB / 0.8739 GB, free: 170.6 MB / 0.6548 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/2.124, allocations: 6.938 kB / 0.8739 GB, free: 170.6 MB / 0.6548 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/2.124, allocations: 3.406 kB / 0.874 GB, free: 170.6 MB / 0.6548 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001402/2.125, allocations: 382.6 kB / 0.8743 GB, free: 170.6 MB / 0.6548 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/2.125, allocations: 3.75 kB / 0.8743 GB, free: 170.6 MB / 0.6548 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/2.125, allocations: 1.641 kB / 0.8743 GB, free: 170.6 MB / 0.6548 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/2.136, allocations: 8.158 MB / 0.8823 GB, free: 167.7 MB / 0.6548 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00889/2.145, allocations: 3.87 MB / 0.8861 GB, free: 165.1 MB / 0.6548 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003837/2.149, allocations: 130 kB / 0.8862 GB, free: 165.1 MB / 0.6548 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/2.153, allocations: 128 kB / 0.8863 GB, free: 165.1 MB / 0.6548 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/2.153, allocations: 3.875 kB / 0.8863 GB, free: 165.1 MB / 0.6548 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001421/2.155, allocations: 1.716 MB / 0.888 GB, free: 165.1 MB / 0.6548 GB Notification: Performance of sorting global known variables: time 0.0618/2.216, allocations: 34.37 MB / 0.9216 GB, free: 139.1 MB / 0.6548 GB Notification: Performance of sort global known variables: time 3.5e-07/2.216, allocations: 0 / 0.9216 GB, free: 139.1 MB / 0.6548 GB Notification: Performance of remove unused functions: time 0.005542/2.222, allocations: 1.249 MB / 0.9228 GB, free: 137.9 MB / 0.6548 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01094/2.233, allocations: 9.176 MB / 0.9317 GB, free: 128.6 MB / 0.6548 GB Notification: Performance of simCode: created initialization part: time 0.001701/2.235, allocations: 1.234 MB / 0.9329 GB, free: 127.4 MB / 0.6548 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.235, allocations: 0 / 0.9329 GB, free: 127.4 MB / 0.6548 GB Notification: Performance of simCode: created simulation system equations: time 0.0009266/2.236, allocations: 0.7168 MB / 0.9336 GB, free: 126.7 MB / 0.6548 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01296/2.249, allocations: 3.379 MB / 0.9369 GB, free: 125.3 MB / 0.6548 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.47/9.719, allocations: 1.177 GB / 2.114 GB, free: 219.2 MB / 0.8735 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03494/9.754, allocations: 17.33 MB / 2.131 GB, free: 201.9 MB / 0.8735 GB Notification: Performance of simCode: alias equations: time 0.0303/9.784, allocations: 9.323 MB / 2.14 GB, free: 193 MB / 0.8735 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0219/9.806, allocations: 19.5 MB / 2.159 GB, free: 173.5 MB / 0.8735 GB Notification: Performance of SimCode: time 3.446e-06/9.806, allocations: 0 / 2.159 GB, free: 173.5 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.682/12.49, allocations: 0.5774 GB / 2.737 GB, free: 177.6 MB / 0.8735 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/12.49, allocations: 221.9 kB / 2.737 GB, free: 177.3 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.35/45.84, allocations: 0 / 2.737 GB, free: 177.3 MB / 0.8735 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_4000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) Environment - environmentSimulation: