Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.0009264/0.0009264, allocations: 177.8 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.304/1.304, 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.000935/0.0009349, allocations: 105.1 kB / 292.1 MB, free: 10.91 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.408/0.408, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4073, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.5753, allocations: 89.3 MB / 0.5969 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5756, allocations: 83.91 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02275/0.5984, allocations: 5.593 MB / 0.6024 GB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.5984, allocations: 0 / 0.6024 GB, free: 148 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.5985, allocations: 3.938 kB / 0.6024 GB, free: 144 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.0007235/0.5992, allocations: 419.1 kB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5993, allocations: 12.03 kB / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.5993, allocations: 42.44 kB / 0.6028 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.5994, allocations: 7.906 kB / 0.6029 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.5998, allocations: 215.8 kB / 0.6031 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5998, allocations: 11.77 kB / 0.6031 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.5999, allocations: 4 kB / 0.6031 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.6001, allocations: 53.67 kB / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6001, allocations: 0 / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6001, allocations: 0 / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6001, allocations: 0 / 0.6031 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.6002, allocations: 23.92 kB / 0.6032 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.6008, allocations: 296.9 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.6011, allocations: 62.66 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.6011, allocations: 0 / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.6013, allocations: 71.44 kB / 0.6036 GB, free: 14.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.6013, allocations: 0 / 0.6036 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007938/0.6021, allocations: 181.2 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.6022, allocations: 51.41 kB / 0.6038 GB, free: 14.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.6025, allocations: 171.1 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.6025, allocations: 25.7 kB / 0.604 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.6026, allocations: 100.1 kB / 0.6041 GB, free: 14.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.6027, allocations: 23.66 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.6027, allocations: 0 / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6029, allocations: 331 kB / 0.6044 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.603, allocations: 23.98 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.6031, allocations: 33.7 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.913e-05/0.6032, allocations: 31.98 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6032, allocations: 0 / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002897/0.6035, allocations: 101.4 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.6036, allocations: 8 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.6036, allocations: 0 / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6036, allocations: 4.031 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6037, allocations: 20.36 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.6038, allocations: 4 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.6038, allocations: 4 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.6039, allocations: 7.938 kB / 0.6046 GB, free: 13.62 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.0001534/0.604, allocations: 136.4 kB / 0.6048 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.6041, allocations: 12.09 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.6045, allocations: 118.2 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6045, allocations: 8 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6045, allocations: 0 / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6045, allocations: 3.984 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.6052, allocations: 407.3 kB / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6052, allocations: 0 / 0.6053 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.6053, allocations: 8 kB / 0.6053 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6053, allocations: 4 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6054, allocations: 0 / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6054, allocations: 4.031 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6054, allocations: 0 / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.6058, allocations: 233.8 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.6059, allocations: 93.02 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.606, allocations: 3.984 kB / 0.6056 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.6061, allocations: 12 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.6062, allocations: 11.94 kB / 0.6056 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.6062, allocations: 4 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.6064, allocations: 144 kB / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6064, allocations: 0 / 0.6058 GB, free: 12.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.6069, allocations: 31.94 kB / 0.6058 GB, free: 12.29 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.002336/0.6093, allocations: 1.199 MB / 0.607 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.6096, allocations: 63.92 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6096, allocations: 0 / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.6097, allocations: 27.98 kB / 0.6071 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.6101, allocations: 35.92 kB / 0.6071 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.6119, allocations: 0.8576 MB / 0.6079 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.6123, allocations: 0.7121 MB / 0.6086 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.103e-05/0.6124, allocations: 24.41 kB / 0.6087 GB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.6125, allocations: 35.42 kB / 0.6087 GB, free: 9.41 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6125, allocations: 0 / 0.6087 GB, free: 9.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.6297, allocations: 3.002 MB / 0.6116 GB, free: 6.543 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/0.63, allocations: 218.3 kB / 0.6118 GB, free: 6.293 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.283, allocations: 3.75 kB / 0.6118 GB, free: 6.293 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat