Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.001335/0.001335, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.427/1.427, allocations: 221.3 MB / 236 MB, free: 2.969 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.000937/0.0009372, allocations: 87.67 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.324e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1639, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4944/0.6584, allocations: 89.22 MB / 0.5889 GB, free: 56 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/0.6589, allocations: 76.03 kB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.6756, allocations: 5.916 MB / 0.5948 GB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6756, allocations: 0 / 0.5948 GB, free: 10.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.6757, allocations: 0 / 0.5948 GB, free: 10.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005489/0.6762, allocations: 434.1 kB / 0.5952 GB, free: 9.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.6763, allocations: 12.03 kB / 0.5952 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.6763, allocations: 34.5 kB / 0.5952 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.6764, allocations: 15.81 kB / 0.5953 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.6768, allocations: 223.8 kB / 0.5955 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.6768, allocations: 7.953 kB / 0.5955 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.6768, allocations: 4 kB / 0.5955 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.677, allocations: 49.67 kB / 0.5955 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.677, allocations: 4 kB / 0.5955 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.677, allocations: 4 kB / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.677, allocations: 3.938 kB / 0.5955 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.6771, allocations: 20 kB / 0.5956 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.6776, allocations: 316.8 kB / 0.5959 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.6777, allocations: 54.62 kB / 0.5959 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.6778, allocations: 20.98 kB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.6778, allocations: 0 / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.6779, allocations: 67.39 kB / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.678, allocations: 0 / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005169/0.6785, allocations: 165 kB / 0.5962 GB, free: 8.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.6785, allocations: 55.41 kB / 0.5962 GB, free: 8.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.6788, allocations: 255 kB / 0.5965 GB, free: 8.164 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6789, allocations: 25.7 kB / 0.5965 GB, free: 8.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.6789, allocations: 112.1 kB / 0.5966 GB, free: 8.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.679, allocations: 23.72 kB / 0.5966 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.679, allocations: 4 kB / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6791, allocations: 330.8 kB / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.61e-05/0.6792, allocations: 23.94 kB / 0.5969 GB, free: 7.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.6792, allocations: 33.72 kB / 0.597 GB, free: 7.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.6793, allocations: 23.98 kB / 0.597 GB, free: 7.574 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6793, allocations: 0 / 0.597 GB, free: 7.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.6795, allocations: 105.4 kB / 0.5971 GB, free: 7.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6795, allocations: 4 kB / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6795, allocations: 0 / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6795, allocations: 4 kB / 0.5971 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.6796, allocations: 15.98 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.6796, allocations: 0 / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.6797, allocations: 7.938 kB / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.6797, allocations: 4 kB / 0.5971 GB, free: 7.43 MB / 410.7 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.997e-05/0.6798, allocations: 117.1 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.6798, allocations: 23.78 kB / 0.5973 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.6801, allocations: 123.1 kB / 0.5974 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6801, allocations: 0 / 0.5974 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6801, allocations: 0 / 0.5974 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6801, allocations: 3.938 kB / 0.5974 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.6807, allocations: 435.3 kB / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.247e-06/0.6807, allocations: 0 / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.6807, allocations: 23.91 kB / 0.5978 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.6807, allocations: 0 / 0.5978 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.6808, allocations: 0 / 0.5978 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.6808, allocations: 4 kB / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6808, allocations: 0 / 0.5978 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.681, allocations: 225.8 kB / 0.5981 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.6811, allocations: 105.1 kB / 0.5982 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.6811, allocations: 4 kB / 0.5982 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.6812, allocations: 7.984 kB / 0.5982 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.6813, allocations: 7.953 kB / 0.5982 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.6813, allocations: 11.98 kB / 0.5982 GB, free: 6.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.6815, allocations: 201.5 kB / 0.5984 GB, free: 6.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6815, allocations: 0 / 0.5984 GB, free: 6.047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002979/0.6818, allocations: 36 kB / 0.5984 GB, free: 6.012 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001843/0.6837, allocations: 1.152 MB / 0.5995 GB, free: 4.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.6838, allocations: 55.98 kB / 0.5996 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6839, allocations: 0 / 0.5996 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.6839, allocations: 35.88 kB / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.6842, allocations: 31.7 kB / 0.5997 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.685, allocations: 305.1 kB / 0.5999 GB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.6854, allocations: 0.7199 MB / 0.6006 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.6855, allocations: 24.41 kB / 0.6007 GB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.6856, allocations: 43.42 kB / 0.6007 GB, free: 3.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6856, allocations: 0 / 0.6007 GB, free: 3.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.7025, allocations: 3.513 MB / 0.6041 GB, free: 264 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.7029, allocations: 191 kB / 0.6043 GB, free: 28 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.515, allocations: 0 / 0.6043 GB, free: 28 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat