Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001466, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 90.48 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3031/0.3031, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.746e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 58.85 MB / 477.2 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.6518, allocations: 85.99 MB / 0.55 GB, free: 13.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004053/0.6523, allocations: 75.95 kB / 0.55 GB, free: 13.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04814/0.7004, allocations: 7.697 MB / 0.5576 GB, free: 5.52 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.7005, allocations: 0 / 0.5576 GB, free: 5.52 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.428e-05/0.7006, allocations: 8 kB / 0.5576 GB, free: 5.512 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001186/0.7018, allocations: 0.5363 MB / 0.5581 GB, free: 4.934 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.066e-05/0.7019, allocations: 12.03 kB / 0.5581 GB, free: 4.922 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.7021, allocations: 43.39 kB / 0.5581 GB, free: 4.879 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.7032, allocations: 327.3 kB / 0.5585 GB, free: 4.52 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.7033, allocations: 0 / 0.5585 GB, free: 4.52 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.7034, allocations: 4 kB / 0.5585 GB, free: 4.516 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/0.7035, allocations: 12 kB / 0.5585 GB, free: 4.504 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.7037, allocations: 42.12 kB / 0.5585 GB, free: 4.457 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.7037, allocations: 0 / 0.5585 GB, free: 4.457 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.7037, allocations: 0 / 0.5585 GB, free: 4.457 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.7037, allocations: 3.953 kB / 0.5585 GB, free: 4.453 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.705, allocations: 397.3 kB / 0.5589 GB, free: 4.027 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.7052, allocations: 34.45 kB / 0.5589 GB, free: 3.984 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.7052, allocations: 8.922 kB / 0.5589 GB, free: 3.973 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.7053, allocations: 0 / 0.5589 GB, free: 3.973 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.7054, allocations: 30.56 kB / 0.559 GB, free: 3.934 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 3.166e-06/0.7054, allocations: 4 kB / 0.559 GB, free: 3.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004005/0.7058, allocations: 77.19 kB / 0.559 GB, free: 3.848 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.7059, allocations: 59.42 kB / 0.5591 GB, free: 3.777 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.7091, allocations: 0.7473 MB / 0.5598 GB, free: 3.02 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.7092, allocations: 25.7 kB / 0.5599 GB, free: 2.988 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.7095, allocations: 234.5 kB / 0.5601 GB, free: 2.758 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.7096, allocations: 3.906 kB / 0.5601 GB, free: 2.754 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.7096, allocations: 3.938 kB / 0.5601 GB, free: 2.75 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.7098, allocations: 310.8 kB / 0.5604 GB, free: 2.438 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.7099, allocations: 15.94 kB / 0.5604 GB, free: 2.422 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.71, allocations: 0 / 0.5604 GB, free: 2.422 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.71, allocations: 12.05 kB / 0.5604 GB, free: 2.41 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7101, allocations: 0 / 0.5604 GB, free: 2.41 MB / 395.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/0.7102, allocations: 37.7 kB / 0.5604 GB, free: 2.367 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.7103, allocations: 8 kB / 0.5605 GB, free: 2.359 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7103, allocations: 0 / 0.5605 GB, free: 2.359 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7104, allocations: 0 / 0.5605 GB, free: 2.359 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.7105, allocations: 7.984 kB / 0.5605 GB, free: 2.352 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.7106, allocations: 3.953 kB / 0.5605 GB, free: 2.348 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.7108, allocations: 8.031 kB / 0.5605 GB, free: 2.34 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.7109, allocations: 0 / 0.5605 GB, free: 2.34 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001264/0.711, allocations: 105 kB / 0.5606 GB, free: 2.23 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002978/0.7113, allocations: 77.17 kB / 0.5606 GB, free: 2.148 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.7116, allocations: 47.42 kB / 0.5607 GB, free: 2.102 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.712, allocations: 92.92 kB / 0.5608 GB, free: 2 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.629e-06/0.712, allocations: 4 kB / 0.5608 GB, free: 1.996 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.712, allocations: 0 / 0.5608 GB, free: 1.996 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7121, allocations: 4.062 kB / 0.5608 GB, free: 1.992 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.7128, allocations: 309.9 kB / 0.5611 GB, free: 1.652 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7128, allocations: 0 / 0.5611 GB, free: 1.652 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.713, allocations: 4 kB / 0.5611 GB, free: 1.648 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.713, allocations: 0 / 0.5611 GB, free: 1.648 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.713, allocations: 0 / 0.5611 GB, free: 1.648 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.713, allocations: 3.938 kB / 0.5611 GB, free: 1.645 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.7131, allocations: 7.953 kB / 0.5611 GB, free: 1.637 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.7135, allocations: 171.1 kB / 0.5613 GB, free: 1.453 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.714, allocations: 164.5 kB / 0.5614 GB, free: 1.273 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.7141, allocations: 4 kB / 0.5614 GB, free: 1.27 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.7144, allocations: 7.922 kB / 0.5614 GB, free: 1.262 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.7145, allocations: 7.984 kB / 0.5614 GB, free: 1.254 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.7145, allocations: 3.953 kB / 0.5614 GB, free: 1.25 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.7163, allocations: 0.6043 MB / 0.562 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.644e-06/0.7164, allocations: 0 / 0.562 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0008257/0.7173, allocations: 47.98 kB / 0.5621 GB, free: 0.6016 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.002168/0.7195, allocations: 0.9031 MB / 0.563 GB, free: 15.71 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.7197, allocations: 15.94 kB / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7197, allocations: 0 / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.7198, allocations: 4 kB / 0.563 GB, free: 15.7 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.7205, allocations: 33.88 kB / 0.563 GB, free: 15.66 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.7237, allocations: 0.8388 MB / 0.5638 GB, free: 14.78 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.7244, allocations: 0.8224 MB / 0.5646 GB, free: 13.93 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.7247, allocations: 123.4 kB / 0.5647 GB, free: 13.81 MB / 411.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7247, allocations: 0 / 0.5647 GB, free: 13.81 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.063/3.788, allocations: 6.904 MB / 0.5715 GB, free: 6.895 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat does not exist to compare? outputFormat=mat