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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.001237/0.001237, allocations: 96.45 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.303/1.303, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.919e-05, allocations: 0 / 0.5289 GB, free: 1.199 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7951/0.7951, allocations: 82.83 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/1.002, allocations: 126 MB / 0.7328 GB, free: 14.83 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.002, allocations: 59.92 kB / 0.7329 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.9682/1.97, allocations: 27.51 MB / 0.7597 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.562e-06/1.97, allocations: 0 / 0.7597 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 0.0002309/1.971, allocations: 65.22 kB / 0.7598 GB, free: 129.6 MB / 0.5421 GB 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.00447/1.975, allocations: 3.429 MB / 0.7631 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/1.975, allocations: 13.61 kB / 0.7631 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000717/1.976, allocations: 0.5719 MB / 0.7637 GB, free: 126.7 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/1.987, allocations: 5.653 MB / 0.7692 GB, free: 122 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/1.987, allocations: 4 kB / 0.7692 GB, free: 122 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/1.987, allocations: 25.34 kB / 0.7693 GB, free: 122 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001956/1.987, allocations: 108 kB / 0.7694 GB, free: 121.9 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/1.987, allocations: 217.5 kB / 0.7696 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/1.987, allocations: 4 kB / 0.7696 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/1.987, allocations: 16 kB / 0.7696 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.987, allocations: 3.953 kB / 0.7696 GB, free: 121.6 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/1.989, allocations: 1.807 MB / 0.7714 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/1.989, allocations: 82.58 kB / 0.7714 GB, free: 119.7 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/1.989, allocations: 76.86 kB / 0.7715 GB, free: 119.6 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/1.989, allocations: 7.984 kB / 0.7715 GB, free: 119.6 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/1.99, allocations: 235.5 kB / 0.7717 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=8): time 4.398e-06/1.99, allocations: 4 kB / 0.7717 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=8): time 0.001193/1.991, allocations: 0.9551 MB / 0.7727 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/1.991, allocations: 89.09 kB / 0.7728 GB, free: 118.3 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/1.996, allocations: 4.998 MB / 0.7776 GB, free: 113.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/1.996, allocations: 49.64 kB / 0.7777 GB, free: 113.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.001878/1.998, allocations: 2.563 MB / 0.7802 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/1.998, allocations: 31.81 kB / 0.7802 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/1.998, allocations: 16 kB / 0.7802 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/1.999, allocations: 313.9 kB / 0.7805 GB, free: 110.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/1.999, allocations: 63.98 kB / 0.7806 GB, free: 110.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/1.999, allocations: 63.94 kB / 0.7807 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.999, allocations: 60 kB / 0.7807 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.999, allocations: 3.984 kB / 0.7807 GB, free: 110.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001029/2, allocations: 0.9669 MB / 0.7817 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/2, allocations: 37.69 kB / 0.7817 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/2, allocations: 0 / 0.7817 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/2, allocations: 0 / 0.7817 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/2, allocations: 7.938 kB / 0.7817 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/2, allocations: 0 / 0.7817 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/2.001, allocations: 23.94 kB / 0.7817 GB, free: 109.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/2.001, allocations: 220 kB / 0.7819 GB, free: 108.9 MB / 0.5421 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 () * 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.0001297/2.001, allocations: 180 kB / 0.7821 GB, free: 108.7 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008324/2.002, allocations: 0.9812 MB / 0.7831 GB, free: 107.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/2.002, allocations: 0.5708 MB / 0.7836 GB, free: 107.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/2.003, allocations: 0.6442 MB / 0.7843 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/2.003, allocations: 0 / 0.7843 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.003, allocations: 0 / 0.7843 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/2.003, allocations: 0 / 0.7843 GB, free: 106.5 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/2.005, allocations: 1.975 MB / 0.7862 GB, free: 104.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/2.005, allocations: 3.938 kB / 0.7862 GB, free: 104.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/2.005, allocations: 4 kB / 0.7862 GB, free: 104.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/2.005, allocations: 0 / 0.7862 GB, free: 104.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/2.005, allocations: 52.09 kB / 0.7862 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/2.005, allocations: 11.94 kB / 0.7863 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.005, allocations: 7.922 kB / 0.7863 GB, free: 104.4 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/2.006, allocations: 1.032 MB / 0.7873 GB, free: 103.4 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/2.006, allocations: 0.564 MB / 0.7878 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/2.006, allocations: 20 kB / 0.7878 GB, free: 102.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/2.007, allocations: 20 kB / 0.7879 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/2.007, allocations: 3.984 kB / 0.7879 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/2.007, allocations: 228 kB / 0.7881 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.005147/2.012, allocations: 3.907 MB / 0.7919 GB, free: 98.64 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/2.012, allocations: 4 kB / 0.7919 GB, free: 98.64 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008486/2.013, allocations: 188 kB / 0.7921 GB, free: 98.46 MB / 0.5421 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) * 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.001467/2.014, allocations: 1.647 MB / 0.7937 GB, free: 96.78 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0003588/2.015, allocations: 240.3 kB / 0.7939 GB, free: 96.53 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/2.015, allocations: 4 kB / 0.7939 GB, free: 96.53 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/2.015, allocations: 167.3 kB / 0.7941 GB, free: 96.35 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/2.016, allocations: 425.2 kB / 0.7945 GB, free: 95.93 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/2.032, allocations: 7.8 MB / 0.8021 GB, free: 88.07 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/2.035, allocations: 2.814 MB / 0.8048 GB, free: 85.23 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.003519/2.039, allocations: 1.161 MB / 0.806 GB, free: 84.07 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/2.041, allocations: 2.089 MB / 0.808 GB, free: 81.98 MB / 0.5421 GB Notification: Performance of SimCode: time 2.094e-06/2.041, allocations: 0 / 0.808 GB, free: 81.98 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/2.181, allocations: 66.47 MB / 0.8729 GB, free: 15.34 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/2.181, allocations: 172.9 kB / 0.8731 GB, free: 15.14 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.101/8.282, allocations: 0 / 0.8731 GB, free: 15.14 MB / 0.5421 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat does not exist to compare? outputFormat=mat