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.001051/0.001051, allocations: 177.6 kB / 17.06 MB, free: 5.094 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.324/1.324, allocations: 223.2 MB / 241 MB, free: 10.15 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.0009762/0.0009761, allocations: 86.94 kB / 292.1 MB, free: 10.69 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.3551/0.3551, allocations: 44.23 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003682, allocations: 12 kB / 460 MB, free: 1.418 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 61.91 MB / 0.5096 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4384, allocations: 89.3 MB / 0.5969 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4387, allocations: 79.91 kB / 0.5969 GB, free: 5.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.4551, allocations: 5.928 MB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.297e-06/0.4551, allocations: 0 / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4551, allocations: 3.938 kB / 0.6027 GB, free: 15.78 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.0005167/0.4556, allocations: 462.5 kB / 0.6032 GB, free: 15.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4557, allocations: 12.03 kB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.4557, allocations: 30.56 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.4558, allocations: 11.91 kB / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4561, allocations: 239.7 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4561, allocations: 3.953 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.4561, allocations: 4 kB / 0.6035 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4563, allocations: 57.61 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4563, allocations: 0 / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.4563, allocations: 4 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4563, allocations: 0 / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.4564, allocations: 19.98 kB / 0.6035 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.4568, allocations: 312.8 kB / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.457, allocations: 62.61 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.457, allocations: 4 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.4572, allocations: 71.5 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4572, allocations: 3.938 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005589/0.4577, allocations: 185 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.4578, allocations: 51.41 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.4581, allocations: 246.9 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4581, allocations: 33.7 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.4581, allocations: 116 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.4582, allocations: 27.64 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.4582, allocations: 4 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4583, allocations: 331 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.4584, allocations: 23.98 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.4585, allocations: 37.64 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.4585, allocations: 27.98 kB / 0.605 GB, free: 13.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4585, allocations: 0 / 0.605 GB, free: 13.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.4587, allocations: 109.5 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4587, allocations: 11.94 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.4588, allocations: 0 / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4588, allocations: 0 / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.458e-05/0.4589, allocations: 15.98 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.4589, allocations: 4 kB / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.4589, allocations: 0 / 0.6051 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4589, allocations: 4 kB / 0.6051 GB, free: 13.07 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 0.0001044/0.4591, allocations: 146.3 kB / 0.6053 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.4591, allocations: 15.81 kB / 0.6053 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.4593, allocations: 127 kB / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4594, allocations: 0 / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4594, allocations: 0 / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4594, allocations: 3.984 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.4599, allocations: 443.2 kB / 0.6058 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4599, allocations: 0 / 0.6058 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.4599, allocations: 15.94 kB / 0.6059 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.46, allocations: 288 / 0.6059 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.46, allocations: 0 / 0.6059 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.46, allocations: 4 kB / 0.6059 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.46, allocations: 3.938 kB / 0.6059 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.4602, allocations: 237.8 kB / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.4603, allocations: 104.9 kB / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.4604, allocations: 0 / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.4604, allocations: 4 kB / 0.6062 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.4605, allocations: 11.94 kB / 0.6062 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.4605, allocations: 8.375 kB / 0.6062 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.4607, allocations: 201.5 kB / 0.6064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4607, allocations: 4 kB / 0.6064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.461, allocations: 39.94 kB / 0.6064 GB, free: 11.62 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.001378/0.4623, allocations: 1.194 MB / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.4625, allocations: 63.91 kB / 0.6077 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4625, allocations: 3.938 kB / 0.6077 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.4626, allocations: 35.92 kB / 0.6077 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4629, allocations: 28.38 kB / 0.6077 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.4643, allocations: 1.07 MB / 0.6088 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4646, allocations: 0.7291 MB / 0.6095 GB, free: 8.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.638e-05/0.4647, allocations: 16.56 kB / 0.6095 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/0.4648, allocations: 47.41 kB / 0.6096 GB, free: 8.496 MB / 426.7 MB Notification: Performance of SimCode: time 2.314e-06/0.4648, allocations: 0 / 0.6096 GB, free: 8.496 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.4796, allocations: 3.512 MB / 0.613 GB, free: 5.117 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.4798, allocations: 205.1 kB / 0.6132 GB, free: 4.883 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.082, allocations: 0 / 0.6132 GB, free: 4.883 MB / 426.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