Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.002171/0.002171, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.39/1.39, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009904, allocations: 84.02 kB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3838/0.3838, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 16 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3554, allocations: 61.9 MB / 0.5096 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4779, allocations: 89.3 MB / 0.5969 GB, free: 5.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.4782, allocations: 87.91 kB / 0.5969 GB, free: 5.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01571/0.4939, allocations: 5.904 MB / 0.6027 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4939, allocations: 0 / 0.6027 GB, free: 15.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.4939, allocations: 8 kB / 0.6027 GB, free: 15.81 MB / 426.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.0005359/0.4945, allocations: 446.7 kB / 0.6031 GB, free: 15.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4945, allocations: 8.031 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.4946, allocations: 34.5 kB / 0.6032 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.4946, allocations: 19.8 kB / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.4949, allocations: 214.8 kB / 0.6034 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.495, allocations: 15.89 kB / 0.6034 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.495, allocations: 4 kB / 0.6034 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4951, allocations: 57.67 kB / 0.6035 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4952, allocations: 0 / 0.6035 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4952, allocations: 0 / 0.6035 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4952, allocations: 0 / 0.6035 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.875e-05/0.4953, allocations: 27.91 kB / 0.6035 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.4957, allocations: 308.8 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.4959, allocations: 58.69 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.4959, allocations: 7.984 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.4961, allocations: 67.45 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4961, allocations: 0 / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006062/0.4967, allocations: 185 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4967, allocations: 55.41 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.497, allocations: 239.2 kB / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.497, allocations: 29.7 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.4971, allocations: 112.1 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.4971, allocations: 19.66 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.4971, allocations: 4 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4973, allocations: 331 kB / 0.6049 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.4973, allocations: 20 kB / 0.6049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.4974, allocations: 41.7 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.568e-05/0.4975, allocations: 31.97 kB / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4975, allocations: 0 / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001759/0.4977, allocations: 105.5 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4977, allocations: 7.984 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4977, allocations: 3.984 kB / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4977, allocations: 4.375 kB / 0.6051 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.4978, allocations: 15.94 kB / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4978, allocations: 4.031 kB / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.4979, allocations: 19.92 kB / 0.6051 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4979, allocations: 4 kB / 0.6051 GB, free: 13.13 MB / 426.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 () * Number of clocked 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 9.887e-05/0.498, allocations: 134.3 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.498, allocations: 15.81 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.4983, allocations: 127.1 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4983, allocations: 0 / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4983, allocations: 0 / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.4983, allocations: 4 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.4988, allocations: 439.2 kB / 0.6058 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4988, allocations: 0 / 0.6058 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.4989, allocations: 8 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4989, allocations: 0 / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.4989, allocations: 11.98 kB / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4989, allocations: 0 / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4989, allocations: 0 / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.4992, allocations: 233.8 kB / 0.606 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/0.4993, allocations: 100.9 kB / 0.6061 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.4993, allocations: 4 kB / 0.6061 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.4994, allocations: 0 / 0.6061 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.4995, allocations: 19.88 kB / 0.6061 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4995, allocations: 8 kB / 0.6062 GB, free: 11.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.4997, allocations: 196.5 kB / 0.6063 GB, free: 11.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4997, allocations: 0 / 0.6063 GB, free: 11.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.5, allocations: 31.94 kB / 0.6064 GB, free: 11.71 MB / 426.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) * Number of clocked states: 0 () * 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.001522/0.5015, allocations: 1.196 MB / 0.6075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.5017, allocations: 59.91 kB / 0.6076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5017, allocations: 4.062 kB / 0.6076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.5018, allocations: 32.14 kB / 0.6076 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.502, allocations: 39.14 kB / 0.6077 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.5034, allocations: 1.03 MB / 0.6087 GB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.5037, allocations: 0.7316 MB / 0.6094 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.5038, allocations: 20.56 kB / 0.6094 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.5039, allocations: 43.41 kB / 0.6095 GB, free: 8.621 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5039, allocations: 0 / 0.6095 GB, free: 8.621 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.5183, allocations: 3.432 MB / 0.6128 GB, free: 5.328 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.5186, allocations: 218.2 kB / 0.613 GB, free: 5.082 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.148, allocations: 3.938 kB / 0.613 GB, free: 5.078 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat