Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.001351/0.00135, allocations: 176.9 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.398/1.398, allocations: 223.2 MB / 241 MB, free: 10.16 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.0009345/0.0009345, allocations: 81.44 kB / 292.1 MB, free: 10.7 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.3235/0.3235, allocations: 44.21 MB / 387.5 MB, free: 38.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3989, allocations: 61.91 MB / 0.5096 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.5579, allocations: 89.25 MB / 0.5968 GB, free: 5.844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5583, allocations: 83.92 kB / 0.5969 GB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02242/0.5807, allocations: 5.523 MB / 0.6023 GB, free: 252 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.938e-06/0.5807, allocations: 0 / 0.6023 GB, free: 252 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.5808, allocations: 7.938 kB / 0.6023 GB, free: 244 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.0007479/0.5815, allocations: 422.8 kB / 0.6027 GB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5816, allocations: 12.03 kB / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.5817, allocations: 42.55 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.5817, allocations: 11.81 kB / 0.6028 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.5822, allocations: 212.2 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.5822, allocations: 3.953 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.5823, allocations: 7.984 kB / 0.603 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.5825, allocations: 53.67 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5825, allocations: 3.938 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5825, allocations: 0 / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5825, allocations: 8 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5827, allocations: 27.91 kB / 0.6031 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.5832, allocations: 292.9 kB / 0.6033 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.5835, allocations: 58.67 kB / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.5835, allocations: 0 / 0.6034 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.5837, allocations: 75.45 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/0.5837, allocations: 0 / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000788/0.5845, allocations: 181 kB / 0.6036 GB, free: 14.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.5846, allocations: 55.41 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.5849, allocations: 182.5 kB / 0.6039 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.5849, allocations: 29.7 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.585, allocations: 108.1 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.5851, allocations: 27.64 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.5851, allocations: 4 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5853, allocations: 326.8 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.5854, allocations: 20 kB / 0.6044 GB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/0.5855, allocations: 33.7 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.938e-05/0.5856, allocations: 24.17 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5856, allocations: 4 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000298/0.5859, allocations: 105.6 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.586, allocations: 7.984 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.586, allocations: 80 / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.586, allocations: 4 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5862, allocations: 15.94 kB / 0.6045 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5862, allocations: 3.984 kB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.5863, allocations: 4 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.5863, allocations: 7.984 kB / 0.6046 GB, free: 13.67 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.000139/0.5864, allocations: 136.4 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.5865, allocations: 15.81 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.5869, allocations: 123.2 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5869, allocations: 96 / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5869, allocations: 3.938 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5869, allocations: 0 / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.5876, allocations: 419.3 kB / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5877, allocations: 0 / 0.6052 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.5877, allocations: 11.98 kB / 0.6052 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5877, allocations: 0 / 0.6052 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.5878, allocations: 4 kB / 0.6052 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.5878, allocations: 0 / 0.6052 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.5878, allocations: 0 / 0.6052 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.5882, allocations: 233.8 kB / 0.6055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5883, allocations: 93 kB / 0.6056 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.5883, allocations: 4 kB / 0.6056 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5885, allocations: 4 kB / 0.6056 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.5885, allocations: 15.88 kB / 0.6056 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.5886, allocations: 4 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.5888, allocations: 148.9 kB / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5888, allocations: 4 kB / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004796/0.5893, allocations: 43.92 kB / 0.6058 GB, free: 12.31 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.002193/0.5915, allocations: 1.192 MB / 0.6069 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.5918, allocations: 63.91 kB / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5918, allocations: 0 / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.5919, allocations: 27.98 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.5923, allocations: 36.06 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.00185/0.5942, allocations: 0.8937 MB / 0.6079 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.5946, allocations: 0.7082 MB / 0.6086 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.5947, allocations: 16.53 kB / 0.6086 GB, free: 9.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.5948, allocations: 39.42 kB / 0.6087 GB, free: 9.426 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5948, allocations: 0 / 0.6087 GB, free: 9.426 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.6125, allocations: 3.061 MB / 0.6117 GB, free: 6.492 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/0.6128, allocations: 221.1 kB / 0.6119 GB, free: 6.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.218, allocations: 7.938 kB / 0.6119 GB, free: 6.242 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat