Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.00106/0.00106, 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.372/1.372, allocations: 223.2 MB / 241 MB, free: 11.88 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.000902/0.000902, allocations: 86.77 kB / 292.1 MB, free: 10.9 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.3571/0.3571, allocations: 44.22 MB / 387.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 8 kB / 460 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.4496, allocations: 88.16 MB / 0.5957 GB, free: 6.969 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4499, allocations: 83.92 kB / 0.5958 GB, free: 6.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.4605, allocations: 4.292 MB / 0.6 GB, free: 2.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4605, allocations: 0 / 0.6 GB, free: 2.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4605, allocations: 0 / 0.6 GB, free: 2.602 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004192/0.461, allocations: 410.9 kB / 0.6004 GB, free: 2.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.461, allocations: 8.031 kB / 0.6004 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.4611, allocations: 38.55 kB / 0.6004 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.4611, allocations: 11.91 kB / 0.6005 GB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.4613, allocations: 203.9 kB / 0.6006 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.4613, allocations: 0 / 0.6006 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.4614, allocations: 3.953 kB / 0.6006 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.4615, allocations: 69.58 kB / 0.6007 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4615, allocations: 3.906 kB / 0.6007 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.4616, allocations: 0 / 0.6007 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4616, allocations: 4 kB / 0.6007 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.4617, allocations: 35.98 kB / 0.6008 GB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.4621, allocations: 300.8 kB / 0.601 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4623, allocations: 46.5 kB / 0.6011 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.4623, allocations: 8 kB / 0.6011 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4623, allocations: 34.5 kB / 0.6011 GB, free: 1.277 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4623, allocations: 0 / 0.6011 GB, free: 1.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009124/0.4633, allocations: 265.2 kB / 0.6014 GB, free: 1.012 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4633, allocations: 55.41 kB / 0.6014 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.4635, allocations: 183.1 kB / 0.6016 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4636, allocations: 29.7 kB / 0.6016 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.398e-05/0.4637, allocations: 108 kB / 0.6017 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4637, allocations: 27.72 kB / 0.6018 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.4637, allocations: 0 / 0.6018 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4639, allocations: 330.8 kB / 0.6021 GB, free: 264 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.4639, allocations: 35.97 kB / 0.6021 GB, free: 228 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.464, allocations: 35.92 kB / 0.6022 GB, free: 192 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.4641, allocations: 35.97 kB / 0.6022 GB, free: 156 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4641, allocations: 0 / 0.6022 GB, free: 156 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002363/0.4644, allocations: 125.5 kB / 0.6023 GB, free: 24 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4644, allocations: 5.875 kB / 0.6023 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4644, allocations: 0 / 0.6023 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4644, allocations: 0 / 0.6023 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.4645, allocations: 19.98 kB / 0.6023 GB, free: 0 / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4646, allocations: 128 / 0.6023 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.4646, allocations: 15.94 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4646, allocations: 0 / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001133/0.4647, allocations: 138.2 kB / 0.6025 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.4648, allocations: 7.906 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.4651, allocations: 142.3 kB / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4651, allocations: 4 kB / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4651, allocations: 0 / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4651, allocations: 0 / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.4657, allocations: 439.6 kB / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4657, allocations: 0 / 0.603 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.4658, allocations: 23.92 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4658, allocations: 0 / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4658, allocations: 4 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4658, allocations: 4 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4658, allocations: 3.984 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.4661, allocations: 238.5 kB / 0.6033 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.4662, allocations: 89 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.4662, allocations: 8 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.4663, allocations: 4 kB / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.4663, allocations: 15.94 kB / 0.6034 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.4663, allocations: 7.984 kB / 0.6034 GB, free: 14.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.4665, allocations: 160 kB / 0.6036 GB, free: 14.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4665, allocations: 3.938 kB / 0.6036 GB, free: 14.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.4667, allocations: 31.78 kB / 0.6036 GB, free: 14.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001497/0.4683, allocations: 1.186 MB / 0.6048 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4685, allocations: 79.89 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4685, allocations: 0 / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/0.4686, allocations: 47.92 kB / 0.6049 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.4688, allocations: 27.94 kB / 0.6049 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.47, allocations: 0.7886 MB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.4703, allocations: 0.7158 MB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.4703, allocations: 20.95 kB / 0.6064 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.4704, allocations: 35.42 kB / 0.6064 GB, free: 11.74 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4704, allocations: 0 / 0.6064 GB, free: 11.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.4838, allocations: 2.702 MB / 0.6091 GB, free: 9.148 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.484, allocations: 211.2 kB / 0.6093 GB, free: 8.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.101, allocations: 0 / 0.6093 GB, free: 8.91 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat does not exist to compare? outputFormat=mat