Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 99.27 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.164/1.164, allocations: 120.5 MB / 457.9 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.653e-05/4.655e-05, allocations: 4 kB / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7468, allocations: 82.82 MB / 0.6167 GB, free: 9.242 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.92, allocations: 129.2 MB / 0.7428 GB, free: 7.922 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001792/0.9202, allocations: 59.84 kB / 0.7429 GB, free: 7.863 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 1.515/2.436, allocations: 195.3 MB / 0.9336 GB, free: 2.383 MB / 0.589 GB Notification: Performance of FrontEnd: time 2.414e-06/2.436, allocations: 0 / 0.9336 GB, free: 2.383 MB / 0.589 GB Notification: Performance of Transformations before backend: time 0.00221/2.438, allocations: 252 kB / 0.9339 GB, free: 2.137 MB / 0.589 GB 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.03/2.468, allocations: 12.61 MB / 0.9462 GB, free: 5.418 MB / 0.6046 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/2.468, allocations: 8.031 kB / 0.9462 GB, free: 5.41 MB / 0.6046 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.512e-05/2.468, allocations: 34.52 kB / 0.9462 GB, free: 5.367 MB / 0.6046 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/2.473, allocations: 2.271 MB / 0.9485 GB, free: 3.066 MB / 0.6046 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05734/2.53, allocations: 22.37 MB / 0.9703 GB, free: 12.53 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/2.53, allocations: 0 / 0.9703 GB, free: 12.53 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/2.53, allocations: 4 kB / 0.9703 GB, free: 12.53 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/2.53, allocations: 45.69 kB / 0.9703 GB, free: 12.48 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/2.53, allocations: 3.938 kB / 0.9704 GB, free: 12.47 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/2.531, allocations: 7.969 kB / 0.9704 GB, free: 12.46 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/2.531, allocations: 11.95 kB / 0.9704 GB, free: 12.45 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/2.531, allocations: 12 kB / 0.9704 GB, free: 12.44 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/2.547, allocations: 6.954 MB / 0.9772 GB, free: 5.438 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/2.547, allocations: 46.62 kB / 0.9772 GB, free: 5.383 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/2.547, allocations: 16.86 kB / 0.9772 GB, free: 5.363 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/2.547, allocations: 0 / 0.9772 GB, free: 5.363 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/2.548, allocations: 71.42 kB / 0.9773 GB, free: 5.281 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=5): time 2.905e-06/2.548, allocations: 0 / 0.9773 GB, free: 5.281 MB / 0.6359 GB Notification: Performance of matching and sorting (n=5): time 0.004284/2.552, allocations: 2.332 MB / 0.9796 GB, free: 2.914 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/2.552, allocations: 59.36 kB / 0.9796 GB, free: 2.844 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5231/3.075, allocations: 21.6 MB / 1.001 GB, free: 172.5 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/3.075, allocations: 26.64 kB / 1.001 GB, free: 172.5 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.01225/3.088, allocations: 10.77 MB / 1.011 GB, free: 166.6 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/3.088, allocations: 21.92 kB / 1.011 GB, free: 166.5 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/3.088, allocations: 1.344 kB / 1.011 GB, free: 166.5 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/3.088, allocations: 311.3 kB / 1.012 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/3.088, allocations: 12 kB / 1.012 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/3.088, allocations: 28.33 kB / 1.012 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/3.088, allocations: 13.34 kB / 1.012 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/3.088, allocations: 0 / 1.012 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.004519/3.092, allocations: 2.337 MB / 1.014 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/3.092, allocations: 5 kB / 1.014 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/3.093, allocations: 3.703 kB / 1.014 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/3.093, allocations: 3.375 kB / 1.014 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/3.093, allocations: 10.09 kB / 1.014 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/3.093, allocations: 3.312 kB / 1.014 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/3.095, allocations: 74.16 kB / 1.014 GB, free: 166.2 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/3.095, allocations: 6.188 kB / 1.014 GB, free: 166.2 MB / 0.6515 GB 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 () * 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 6.239e-05/3.095, allocations: 110.4 kB / 1.014 GB, free: 166.1 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/3.097, allocations: 2.325 MB / 1.016 GB, free: 164.8 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006063/3.103, allocations: 2.646 MB / 1.019 GB, free: 164 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/3.103, allocations: 0 / 1.019 GB, free: 164 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/3.103, allocations: 3.656 kB / 1.019 GB, free: 164 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/3.103, allocations: 3.953 kB / 1.019 GB, free: 164 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/3.113, allocations: 7.625 MB / 1.026 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/3.113, allocations: 0 / 1.026 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/3.114, allocations: 8.531 kB / 1.026 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/3.114, allocations: 0 / 1.026 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/3.114, allocations: 0 / 1.026 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/3.114, allocations: 3.703 kB / 1.026 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/3.114, allocations: 0 / 1.026 GB, free: 161.5 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/3.117, allocations: 2.576 MB / 1.029 GB, free: 160 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00366/3.12, allocations: 1.986 MB / 1.031 GB, free: 158.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/3.121, allocations: 64.69 kB / 1.031 GB, free: 158.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/3.123, allocations: 65.66 kB / 1.031 GB, free: 158.6 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/3.123, allocations: 5.906 kB / 1.031 GB, free: 158.6 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/3.123, allocations: 10.36 kB / 1.031 GB, free: 158.6 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.02874/3.151, allocations: 17.21 MB / 1.048 GB, free: 154.2 MB / 0.6515 GB Notification: Performance of sort global known variables: time 2.395e-06/3.151, allocations: 0 / 1.048 GB, free: 154.2 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.002827/3.154, allocations: 0.6333 MB / 1.048 GB, free: 154.2 MB / 0.6515 GB 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.00501/3.159, allocations: 3.527 MB / 1.052 GB, free: 152.3 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0001888/3.16, allocations: 40.53 kB / 1.052 GB, free: 152.3 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/3.16, allocations: 0 / 1.052 GB, free: 152.3 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/3.16, allocations: 22.88 kB / 1.052 GB, free: 152.2 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/3.164, allocations: 1.649 MB / 1.054 GB, free: 151.2 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04839/3.212, allocations: 32.45 MB / 1.085 GB, free: 138.3 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009757/3.222, allocations: 9.294 MB / 1.094 GB, free: 132.3 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01523/3.238, allocations: 5.643 MB / 1.1 GB, free: 127.8 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01191/3.249, allocations: 10.38 MB / 1.11 GB, free: 117.6 MB / 0.6515 GB Notification: Performance of SimCode: time 1.453e-06/3.249, allocations: 0 / 1.11 GB, free: 117.6 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9524/4.202, allocations: 258.6 MB / 1.363 GB, free: 94.82 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/4.202, allocations: 232.8 kB / 1.363 GB, free: 94.6 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/19.79, allocations: 0 / 1.363 GB, free: 94.6 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat does not exist to compare? outputFormat=mat