Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.001076/0.001076, allocations: 176.5 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.357/1.357, 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.0008973/0.0008974, allocations: 94.53 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.3547/0.3547, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003831, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4272, allocations: 61.91 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.5666, allocations: 89.14 MB / 0.5967 GB, free: 5.965 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.567, allocations: 79.92 kB / 0.5968 GB, free: 5.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.5839, allocations: 6.718 MB / 0.6033 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5839, allocations: 4 kB / 0.6033 GB, free: 15.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.584, allocations: 12 kB / 0.6033 GB, free: 15.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001244/0.5852, allocations: 0.7152 MB / 0.604 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.5853, allocations: 8.031 kB / 0.6041 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.538e-05/0.5854, allocations: 38.55 kB / 0.6041 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.5855, allocations: 47.44 kB / 0.6041 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.5864, allocations: 495 kB / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5865, allocations: 0 / 0.6046 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.5865, allocations: 4 kB / 0.6046 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.5867, allocations: 91.28 kB / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5868, allocations: 0 / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.5868, allocations: 3.984 kB / 0.6047 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5868, allocations: 4 kB / 0.6047 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.5869, allocations: 31.97 kB / 0.6047 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.5874, allocations: 378.4 kB / 0.6051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.5877, allocations: 117.2 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.5878, allocations: 0 / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.588, allocations: 117.1 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.588, allocations: 0 / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000545/0.5886, allocations: 204.9 kB / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.5887, allocations: 77.11 kB / 0.6056 GB, free: 12.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.5901, allocations: 0.9511 MB / 0.6065 GB, free: 11.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5901, allocations: 29.7 kB / 0.6065 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5903, allocations: 232.1 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.5904, allocations: 19.72 kB / 0.6068 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.5904, allocations: 0 / 0.6068 GB, free: 11.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.5906, allocations: 370.8 kB / 0.6071 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.893e-05/0.5907, allocations: 31.97 kB / 0.6072 GB, free: 10.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.5908, allocations: 64.45 kB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.5909, allocations: 35.92 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5909, allocations: 4 kB / 0.6073 GB, free: 10.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003195/0.5912, allocations: 172.9 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5913, allocations: 4 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5913, allocations: 3.938 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.5913, allocations: 4 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5914, allocations: 28.05 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.5915, allocations: 7.938 kB / 0.6075 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.5916, allocations: 11.84 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.5916, allocations: 4 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002534/0.5918, allocations: 222.3 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.5919, allocations: 59.3 kB / 0.6078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004048/0.5923, allocations: 202.3 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.5924, allocations: 11.98 kB / 0.608 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5924, allocations: 0 / 0.608 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5924, allocations: 0 / 0.608 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.5928, allocations: 385.3 kB / 0.6083 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5928, allocations: 0 / 0.6083 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.5929, allocations: 8 kB / 0.6083 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.5929, allocations: 7.953 kB / 0.6084 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5929, allocations: 3.984 kB / 0.6084 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.5929, allocations: 3.938 kB / 0.6084 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5929, allocations: 4 kB / 0.6084 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.5933, allocations: 231 kB / 0.6086 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.5937, allocations: 200.3 kB / 0.6088 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.5938, allocations: 11.98 kB / 0.6088 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.5939, allocations: 4 kB / 0.6088 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.5939, allocations: 11.98 kB / 0.6088 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.5939, allocations: 8 kB / 0.6088 GB, free: 9.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009603/0.5949, allocations: 0.7526 MB / 0.6095 GB, free: 8.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5949, allocations: 0 / 0.6095 GB, free: 8.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.5953, allocations: 80 kB / 0.6096 GB, free: 8.348 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001802/0.5971, allocations: 1.161 MB / 0.6108 GB, free: 7.316 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.5973, allocations: 87.89 kB / 0.6108 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5974, allocations: 0 / 0.6108 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5975, allocations: 47.92 kB / 0.6109 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.5979, allocations: 58.39 kB / 0.6109 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.6025, allocations: 3.367 MB / 0.6142 GB, free: 3.668 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.6031, allocations: 0.8546 MB / 0.6151 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.6033, allocations: 87.45 kB / 0.6151 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.6035, allocations: 163.4 kB / 0.6153 GB, free: 2.539 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6035, allocations: 0 / 0.6153 GB, free: 2.539 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.6285, allocations: 9.225 MB / 0.6243 GB, free: 9.465 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.6289, allocations: 213.9 kB / 0.6245 GB, free: 9.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.781, allocations: 0 / 0.6245 GB, free: 9.227 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat