Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001174/0.001175, allocations: 177.3 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.338/1.338, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008972/0.0008972, allocations: 93.75 kB / 292.1 MB, free: 10.92 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.3486/0.3486, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4561, allocations: 89.25 MB / 0.5968 GB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4564, allocations: 83.92 kB / 0.5969 GB, free: 5.789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01525/0.4716, allocations: 5.484 MB / 0.6022 GB, free: 312 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.4717, allocations: 0 / 0.6022 GB, free: 312 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.4717, allocations: 3.938 kB / 0.6022 GB, free: 308 kB / 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.0005927/0.4723, allocations: 422.8 kB / 0.6027 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4724, allocations: 8.031 kB / 0.6027 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.4724, allocations: 34.56 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.4725, allocations: 15.84 kB / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.4728, allocations: 219.8 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4728, allocations: 3.953 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4729, allocations: 8 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.473, allocations: 53.67 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.473, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.473, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.473, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.4731, allocations: 19.98 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.4736, allocations: 300.8 kB / 0.6033 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.4738, allocations: 54.69 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.4738, allocations: 4 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.474, allocations: 75.44 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.474, allocations: 4 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.4745, allocations: 177.2 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4746, allocations: 51.41 kB / 0.6036 GB, free: 14.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4748, allocations: 167.1 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4748, allocations: 29.7 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.4749, allocations: 100.1 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.4749, allocations: 27.64 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.4749, allocations: 0 / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4751, allocations: 330.8 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.4752, allocations: 20 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.4752, allocations: 33.7 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.4753, allocations: 24.17 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4753, allocations: 4 kB / 0.6043 GB, free: 13.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002052/0.4755, allocations: 105.4 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4756, allocations: 8.016 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4756, allocations: 8 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4756, allocations: 0 / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.4757, allocations: 12 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.4757, allocations: 0 / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.4758, allocations: 4 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.4758, allocations: 12.17 kB / 0.6045 GB, free: 13.79 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.0001089/0.4759, allocations: 130.2 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.4759, allocations: 11.84 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.4762, allocations: 122.3 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4762, allocations: 4 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4762, allocations: 3.984 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4762, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.4767, allocations: 415.2 kB / 0.6051 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4768, allocations: 0 / 0.6051 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.4768, allocations: 8 kB / 0.6051 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4768, allocations: 8.016 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4768, allocations: 7.984 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4768, allocations: 0 / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4768, allocations: 0 / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.4771, allocations: 225.9 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.4772, allocations: 93 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.4772, allocations: 8 kB / 0.6055 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.4773, allocations: 4 kB / 0.6055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.4774, allocations: 11.94 kB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.4774, allocations: 0 / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.4775, allocations: 148 kB / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4775, allocations: 0 / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.4778, allocations: 31.94 kB / 0.6057 GB, free: 12.46 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.001427/0.4792, allocations: 1.206 MB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.4794, allocations: 63.91 kB / 0.6069 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4794, allocations: 0 / 0.6069 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.4795, allocations: 28 kB / 0.6069 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.4798, allocations: 34.16 kB / 0.607 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4811, allocations: 0.8641 MB / 0.6078 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4814, allocations: 0.716 MB / 0.6085 GB, free: 9.621 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.906e-05/0.4814, allocations: 16.41 kB / 0.6085 GB, free: 9.605 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.4815, allocations: 35.42 kB / 0.6085 GB, free: 9.57 MB / 426.7 MB Notification: Performance of SimCode: time 3.116e-06/0.4815, allocations: 0 / 0.6085 GB, free: 9.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/0.495, allocations: 3.012 MB / 0.6115 GB, free: 6.695 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.4952, allocations: 218.2 kB / 0.6117 GB, free: 6.445 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.035, allocations: 0 / 0.6117 GB, free: 6.445 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat