Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.001593/0.001593, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.466/1.466, allocations: 223.2 MB / 241 MB, free: 11.91 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.0008045/0.0008045, allocations: 91.27 kB / 292.1 MB, free: 10.94 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.341/0.341, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003225, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3107, allocations: 61.9 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.4346, allocations: 89.36 MB / 0.5969 GB, free: 5.781 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4349, allocations: 83.88 kB / 0.597 GB, free: 5.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.4525, allocations: 6.304 MB / 0.6031 GB, free: 15.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4525, allocations: 4 kB / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.4526, allocations: 4 kB / 0.6032 GB, free: 15.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006347/0.4532, allocations: 454.7 kB / 0.6036 GB, free: 14.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.4533, allocations: 8.031 kB / 0.6036 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.4533, allocations: 34.56 kB / 0.6036 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.4534, allocations: 15.81 kB / 0.6036 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.4538, allocations: 230.6 kB / 0.6039 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4538, allocations: 7.953 kB / 0.6039 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.4538, allocations: 4 kB / 0.6039 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.454, allocations: 69.66 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.4541, allocations: 3.938 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.4541, allocations: 3.938 kB / 0.6039 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4541, allocations: 4 kB / 0.604 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.4542, allocations: 39.91 kB / 0.604 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.4548, allocations: 332.7 kB / 0.6043 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.4551, allocations: 86.56 kB / 0.6044 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4551, allocations: 0 / 0.6044 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.4553, allocations: 79.62 kB / 0.6045 GB, free: 13.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.4553, allocations: 0 / 0.6045 GB, free: 13.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009327/0.4563, allocations: 281.1 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.4563, allocations: 59.39 kB / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.4566, allocations: 225.7 kB / 0.605 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.4566, allocations: 25.7 kB / 0.605 GB, free: 13.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.4567, allocations: 112.1 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.4568, allocations: 43.45 kB / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.4568, allocations: 0 / 0.6052 GB, free: 13.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.457, allocations: 330.8 kB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.4571, allocations: 43.91 kB / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.4571, allocations: 49.7 kB / 0.6056 GB, free: 12.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.4572, allocations: 43.92 kB / 0.6056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4573, allocations: 0 / 0.6056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002875/0.4575, allocations: 145.5 kB / 0.6058 GB, free: 12.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4576, allocations: 9.406 kB / 0.6058 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4576, allocations: 0 / 0.6058 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4576, allocations: 0 / 0.6058 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.4577, allocations: 32.02 kB / 0.6058 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4577, allocations: 0 / 0.6058 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.4578, allocations: 4 kB / 0.6058 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.4578, allocations: 4 kB / 0.6058 GB, free: 12.43 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 (14): * Single equations (assignments): 14 * 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.0001403/0.458, allocations: 144.5 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.458, allocations: 23.8 kB / 0.606 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.4584, allocations: 176.8 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4584, allocations: 4 kB / 0.6061 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4584, allocations: 0 / 0.6061 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.4584, allocations: 7.984 kB / 0.6062 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.4591, allocations: 0.5076 MB / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4592, allocations: 0 / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.4592, allocations: 16 kB / 0.6067 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.4592, allocations: 8.062 kB / 0.6067 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.4593, allocations: 7.984 kB / 0.6067 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4593, allocations: 4 kB / 0.6067 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4593, allocations: 3.953 kB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.4596, allocations: 277.7 kB / 0.6069 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.4597, allocations: 108.9 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.4598, allocations: 0 / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.4599, allocations: 11.94 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.4599, allocations: 11.98 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4599, allocations: 7.938 kB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.4601, allocations: 188.8 kB / 0.6073 GB, free: 10.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4601, allocations: 0 / 0.6073 GB, free: 10.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003199/0.4604, allocations: 47.94 kB / 0.6073 GB, free: 10.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001824/0.4623, allocations: 1.38 MB / 0.6087 GB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4625, allocations: 91.89 kB / 0.6087 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4626, allocations: 0 / 0.6087 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4627, allocations: 51.92 kB / 0.6088 GB, free: 9.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.463, allocations: 28.16 kB / 0.6088 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.4646, allocations: 1.124 MB / 0.6099 GB, free: 8.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4649, allocations: 0.7243 MB / 0.6106 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.104e-05/0.465, allocations: 29.06 kB / 0.6107 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.4652, allocations: 55.39 kB / 0.6107 GB, free: 7.371 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4652, allocations: 0 / 0.6107 GB, free: 7.371 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.4825, allocations: 3.845 MB / 0.6145 GB, free: 3.668 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003566/0.4829, allocations: 216.3 kB / 0.6147 GB, free: 3.426 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.15, allocations: 0 / 0.6147 GB, free: 3.426 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat