Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001031/0.001031, allocations: 175.8 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.489/1.489, 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.0008523/0.0008522, allocations: 100.7 kB / 292.1 MB, free: 10.93 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.4633/0.4633, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004294, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4017, allocations: 61.91 MB / 0.5097 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.5211, allocations: 89.3 MB / 0.5969 GB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.5213, allocations: 87.91 kB / 0.5969 GB, free: 5.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.5367, allocations: 5.574 MB / 0.6024 GB, free: 172 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5367, allocations: 0 / 0.6024 GB, free: 172 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.5367, allocations: 0 / 0.6024 GB, free: 172 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.0005475/0.5373, allocations: 422.9 kB / 0.6028 GB, free: 15.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5373, allocations: 8.031 kB / 0.6028 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.5374, allocations: 38.5 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.5374, allocations: 15.84 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.5377, allocations: 215.9 kB / 0.6031 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.5378, allocations: 7.953 kB / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.5378, allocations: 4 kB / 0.6031 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.5379, allocations: 53.67 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.538, allocations: 4 kB / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.538, allocations: 0 / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.538, allocations: 0 / 0.6031 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.5381, allocations: 19.98 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.5385, allocations: 300.8 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.5386, allocations: 58.69 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.5387, allocations: 4 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.5388, allocations: 75.42 kB / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.5388, allocations: 0 / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005424/0.5394, allocations: 177.2 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.5394, allocations: 51.41 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.5396, allocations: 167.1 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.5396, allocations: 33.7 kB / 0.604 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.5397, allocations: 100.1 kB / 0.6041 GB, free: 14.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.5397, allocations: 27.64 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.5397, allocations: 0 / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5398, allocations: 327 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.5399, allocations: 20 kB / 0.6044 GB, free: 13.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.54, allocations: 33.7 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.5401, allocations: 27.98 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5401, allocations: 4 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001952/0.5403, allocations: 105.4 kB / 0.6046 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5403, allocations: 7.984 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5403, allocations: 4 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.5403, allocations: 0 / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.5404, allocations: 12 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5404, allocations: 0 / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.5405, allocations: 11.94 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.5405, allocations: 12.02 kB / 0.6046 GB, free: 13.64 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.474e-05/0.5406, allocations: 128.5 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.5406, allocations: 7.906 kB / 0.6048 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.5409, allocations: 118.3 kB / 0.6049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5409, allocations: 4 kB / 0.6049 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.541, allocations: 3.984 kB / 0.6049 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.541, allocations: 288 / 0.6049 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.5414, allocations: 419.5 kB / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5414, allocations: 0 / 0.6053 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.5415, allocations: 15.94 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.5415, allocations: 0 / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5415, allocations: 11.98 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5415, allocations: 0 / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5415, allocations: 0 / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.5418, allocations: 225.9 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.5418, allocations: 97 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.5419, allocations: 0 / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.542, allocations: 4 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.542, allocations: 11.94 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.542, allocations: 4 kB / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.5421, allocations: 148 kB / 0.6058 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5422, allocations: 0 / 0.6058 GB, free: 12.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.5424, allocations: 31.94 kB / 0.6058 GB, free: 12.32 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.001575/0.544, allocations: 1.199 MB / 0.607 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.5442, allocations: 59.92 kB / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5442, allocations: 0 / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.5443, allocations: 32.11 kB / 0.6071 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.5446, allocations: 35.92 kB / 0.6071 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.5459, allocations: 0.8575 MB / 0.6079 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.5463, allocations: 0.716 MB / 0.6086 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.5463, allocations: 20.41 kB / 0.6087 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.5464, allocations: 35.42 kB / 0.6087 GB, free: 9.434 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5464, allocations: 0 / 0.6087 GB, free: 9.434 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.5616, allocations: 3.001 MB / 0.6116 GB, free: 6.562 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.5618, allocations: 219.2 kB / 0.6118 GB, free: 6.316 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.187, allocations: 7.688 kB / 0.6118 GB, free: 6.312 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat