Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.002336/0.002336, allocations: 180.4 kB / 17.06 MB, free: 5.074 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.513/1.513, allocations: 223.2 MB / 241 MB, free: 11.9 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.001024/0.001024, allocations: 90.42 kB / 292.1 MB, free: 10.95 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.3832/0.3832, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004627, allocations: 12 kB / 460 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4057, allocations: 61.91 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.5435, allocations: 89.07 MB / 0.5966 GB, free: 6.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5438, allocations: 75.92 kB / 0.5967 GB, free: 6.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.5584, allocations: 5.478 MB / 0.6021 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5584, allocations: 0 / 0.6021 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.5584, allocations: 4 kB / 0.6021 GB, free: 0.5195 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005573/0.559, allocations: 422.8 kB / 0.6025 GB, free: 60 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.5591, allocations: 8.031 kB / 0.6025 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.5591, allocations: 34.56 kB / 0.6025 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.5592, allocations: 15.8 kB / 0.6025 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.5595, allocations: 217 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5595, allocations: 0 / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.5596, allocations: 7.953 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.5597, allocations: 57.61 kB / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.5597, allocations: 3.938 kB / 0.6028 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.5598, allocations: 4 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5598, allocations: 4 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.5598, allocations: 15.98 kB / 0.6028 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.5601, allocations: 181.7 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.5602, allocations: 54.61 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.5603, allocations: 0 / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.5604, allocations: 71.38 kB / 0.6031 GB, free: 15.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.5604, allocations: 4 kB / 0.6031 GB, free: 15.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002964/0.5608, allocations: 101.5 kB / 0.6032 GB, free: 15.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.5608, allocations: 55.41 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.561, allocations: 189.5 kB / 0.6034 GB, free: 14.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.5611, allocations: 29.7 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.5611, allocations: 104.1 kB / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.5612, allocations: 15.84 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.5612, allocations: 0 / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5613, allocations: 322.8 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.5614, allocations: 23.92 kB / 0.6039 GB, free: 14.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.483e-05/0.5615, allocations: 21.72 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.581e-05/0.5615, allocations: 23.98 kB / 0.604 GB, free: 14.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5615, allocations: 0 / 0.604 GB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001522/0.5617, allocations: 85.44 kB / 0.604 GB, free: 14.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.5617, allocations: 11.95 kB / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5617, allocations: 0 / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5618, allocations: 0 / 0.6041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.5618, allocations: 11.98 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.5619, allocations: 4 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.5619, allocations: 0 / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.5619, allocations: 4 kB / 0.6041 GB, free: 14.23 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 (7): * Single equations (assignments): 7 * 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.0001236/0.562, allocations: 136.5 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.5621, allocations: 11.81 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.5623, allocations: 102.5 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5623, allocations: 0 / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5623, allocations: 0 / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5624, allocations: 0 / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.5625, allocations: 198 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.5626, allocations: 3.938 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.5626, allocations: 11.94 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5626, allocations: 3.984 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.5626, allocations: 8 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5626, allocations: 3.953 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5626, allocations: 3.984 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.5628, allocations: 113 kB / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.5629, allocations: 96.92 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.563, allocations: 3.984 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.281e-05/0.563, allocations: 4 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.5631, allocations: 7.953 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5631, allocations: 7.984 kB / 0.6048 GB, free: 13.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.5632, allocations: 155.2 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5632, allocations: 0 / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.5635, allocations: 27.94 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001368/0.5648, allocations: 0.9634 MB / 0.6059 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.565, allocations: 47.91 kB / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.565, allocations: 0 / 0.6059 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.5651, allocations: 23.98 kB / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.5653, allocations: 23.94 kB / 0.606 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.5666, allocations: 0.8575 MB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5669, allocations: 0.7082 MB / 0.6075 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.093e-05/0.567, allocations: 16.42 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.5671, allocations: 31.42 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5671, allocations: 4 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.5814, allocations: 2.863 MB / 0.6103 GB, free: 7.895 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.5816, allocations: 214.3 kB / 0.6105 GB, free: 7.648 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.228, allocations: 7.75 kB / 0.6105 GB, free: 7.645 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat