Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",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.001357/0.001357, allocations: 97.06 kB / 16.3 MB, free: 5.996 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.001452/0.001452, allocations: 182.3 kB / 17.2 MB, free: 5.906 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.526/1.526, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9614/0.9614, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 8 kB / 0.4942 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 82.84 MB / 0.5751 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.001781/0.1769, allocations: 1.267 MB / 0.5764 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1782, allocations: 0.8036 MB / 0.5772 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.1783, allocations: 0 / 0.5772 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.1799, allocations: 1.931 MB / 0.5791 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000996/0.1809, allocations: 1.03 MB / 0.5801 GB, free: 3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1813, allocations: 87.77 kB / 0.5801 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1826, allocations: 1.529 MB / 0.5816 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.387e-05/0.1827, allocations: 4 kB / 0.5816 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.1838, allocations: 1.155 MB / 0.5828 GB, free: 228 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.55/0.7339, allocations: 2.053 MB / 0.5848 GB, free: 12.48 MB / 446.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.735, allocations: 126.9 kB / 0.5849 GB, free: 12.48 MB / 446.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.7357, allocations: 147 kB / 0.585 GB, free: 12.48 MB / 446.3 MB Notification: Performance of NFScalarize.scalarize: time 0.008487/0.7442, allocations: 4.649 MB / 0.5896 GB, free: 12.02 MB / 446.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.7465, allocations: 1.014 MB / 0.5906 GB, free: 11.62 MB / 446.3 MB Notification: Performance of NFConvertDAE.convert: time 0.008135/0.7547, allocations: 4.551 MB / 0.595 GB, free: 10.55 MB / 446.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7547, allocations: 1.375 kB / 0.595 GB, free: 10.55 MB / 446.3 MB Notification: Performance of FrontEnd: time 3.516e-06/0.7547, allocations: 0 / 0.595 GB, free: 10.55 MB / 446.3 MB Notification: Performance of Transformations before backend: time 0.0003867/0.7551, allocations: 3.938 kB / 0.595 GB, free: 10.55 MB / 446.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.02091/0.776, allocations: 8.93 MB / 0.6037 GB, free: 4.816 MB / 446.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.7761, allocations: 8.625 kB / 0.6037 GB, free: 4.816 MB / 446.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.7761, allocations: 34.52 kB / 0.6038 GB, free: 4.777 MB / 446.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/0.7797, allocations: 1.11 MB / 0.6049 GB, free: 4.145 MB / 446.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03555/0.8153, allocations: 12.4 MB / 0.617 GB, free: 13.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.8154, allocations: 4 kB / 0.617 GB, free: 13.67 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.8154, allocations: 5.188 kB / 0.617 GB, free: 13.67 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.8156, allocations: 47.3 kB / 0.617 GB, free: 13.63 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.8156, allocations: 3.938 kB / 0.617 GB, free: 13.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.8156, allocations: 0 / 0.617 GB, free: 13.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.8156, allocations: 5.156 kB / 0.617 GB, free: 13.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.8157, allocations: 16.17 kB / 0.617 GB, free: 13.62 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.8258, allocations: 3.554 MB / 0.6205 GB, free: 10.5 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.8261, allocations: 51.7 kB / 0.6206 GB, free: 10.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.8262, allocations: 0 / 0.6206 GB, free: 10.45 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.8264, allocations: 72.59 kB / 0.6206 GB, free: 10.36 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 2.284e-06/0.8264, allocations: 0 / 0.6206 GB, free: 10.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.003162/0.8296, allocations: 1.221 MB / 0.6218 GB, free: 9.121 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.8296, allocations: 59.36 kB / 0.6219 GB, free: 9.051 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0281/0.8578, allocations: 12.71 MB / 0.6343 GB, free: 12.44 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.8578, allocations: 25.7 kB / 0.6343 GB, free: 12.41 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.007137/0.865, allocations: 5.474 MB / 0.6397 GB, free: 6.93 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.8651, allocations: 25.59 kB / 0.6397 GB, free: 6.906 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.8651, allocations: 0 / 0.6397 GB, free: 6.906 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8652, allocations: 306 kB / 0.64 GB, free: 6.602 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.8653, allocations: 12 kB / 0.64 GB, free: 6.59 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.8654, allocations: 38.81 kB / 0.64 GB, free: 6.547 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.268e-05/0.8655, allocations: 15.98 kB / 0.64 GB, free: 6.531 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8655, allocations: 4 kB / 0.6401 GB, free: 6.527 MB / 478.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003159/0.8686, allocations: 1.202 MB / 0.6412 GB, free: 5.305 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8687, allocations: 6.188 kB / 0.6412 GB, free: 5.301 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8687, allocations: 0 / 0.6412 GB, free: 5.301 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.8687, allocations: 5.25 kB / 0.6412 GB, free: 5.297 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.8688, allocations: 12 kB / 0.6412 GB, free: 5.285 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.8689, allocations: 8.031 kB / 0.6413 GB, free: 5.277 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.871, allocations: 39.94 kB / 0.6413 GB, free: 5.238 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.871, allocations: 4.703 kB / 0.6413 GB, free: 5.234 MB / 478.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005757/0.8768, allocations: 2.432 MB / 0.6437 GB, free: 2.793 MB / 478.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003082/0.8799, allocations: 1.168 MB / 0.6448 GB, free: 1.613 MB / 478.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/0.8842, allocations: 1.298 MB / 0.6461 GB, free: 320 kB / 478.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8842, allocations: 0 / 0.6461 GB, free: 320 kB / 478.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.8842, allocations: 0 / 0.6461 GB, free: 320 kB / 478.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8842, allocations: 4 kB / 0.6461 GB, free: 316 kB / 478.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.8964, allocations: 3.89 MB / 0.6499 GB, free: 12.38 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.8965, allocations: 0.5 kB / 0.6499 GB, free: 12.38 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.8965, allocations: 7.984 kB / 0.6499 GB, free: 12.37 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.8965, allocations: 3.938 kB / 0.6499 GB, free: 12.36 MB / 494.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.8966, allocations: 6.875 kB / 0.6499 GB, free: 12.36 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.8966, allocations: 0 / 0.6499 GB, free: 12.36 MB / 494.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8966, allocations: 3.938 kB / 0.6499 GB, free: 12.36 MB / 494.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.9004, allocations: 1.34 MB / 0.6512 GB, free: 10.98 MB / 494.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003672/0.9041, allocations: 1.037 MB / 0.6522 GB, free: 9.914 MB / 494.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/0.9062, allocations: 32 kB / 0.6523 GB, free: 9.883 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.9083, allocations: 36 kB / 0.6523 GB, free: 9.848 MB / 494.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.9083, allocations: 0 / 0.6523 GB, free: 9.848 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.9084, allocations: 7.984 kB / 0.6523 GB, free: 9.84 MB / 494.3 MB Notification: Performance of sorting global known variables: time 0.02119/0.9296, allocations: 8.73 MB / 0.6608 GB, free: 1.191 MB / 494.3 MB Notification: Performance of sort global known variables: time 7.92e-07/0.9296, allocations: 4 kB / 0.6608 GB, free: 1.188 MB / 494.3 MB Notification: Performance of remove unused functions: time 0.003465/0.9331, allocations: 328 kB / 0.6611 GB, free: 0.8672 MB / 494.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 (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.004271/0.9374, allocations: 2.249 MB / 0.6633 GB, free: 14.75 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.9376, allocations: 42.39 kB / 0.6634 GB, free: 14.71 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9376, allocations: 0 / 0.6634 GB, free: 14.71 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.9377, allocations: 23.92 kB / 0.6634 GB, free: 14.68 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/0.9414, allocations: 0.8344 MB / 0.6642 GB, free: 13.85 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5023/1.444, allocations: 115.8 MB / 0.7773 GB, free: 2.797 MB / 0.6077 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005944/1.45, allocations: 4.989 MB / 0.7822 GB, free: 13.78 MB / 0.6233 GB Notification: Performance of simCode: alias equations: time 0.009348/1.459, allocations: 2.843 MB / 0.7849 GB, free: 10.93 MB / 0.6233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007681/1.467, allocations: 4.97 MB / 0.7898 GB, free: 5.957 MB / 0.6233 GB Notification: Performance of SimCode: time 7.82e-07/1.467, allocations: 0 / 0.7898 GB, free: 5.957 MB / 0.6233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8718/2.339, allocations: 137.5 MB / 0.9241 GB, free: 140.4 MB / 0.6548 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/2.339, allocations: 254.9 kB / 0.9243 GB, free: 140.1 MB / 0.6548 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/10.71, allocations: 0 / 0.9243 GB, free: 140.1 MB / 0.6548 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat does not exist to compare? outputFormat=mat