Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1",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.00238/0.002386, allocations: 179.2 kB / 8.363 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.463/2.463, 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.001109/0.001109, allocations: 95.16 kB / 262.1 MB, free: 13.88 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.2996/0.2996, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.34e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4738, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.6419, allocations: 86.15 MB / 0.5501 GB, free: 13.05 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.6423, allocations: 75.95 kB / 0.5502 GB, free: 12.97 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03053/0.6728, allocations: 7.914 MB / 0.5579 GB, free: 5.043 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6729, allocations: 0 / 0.5579 GB, free: 5.043 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.183e-05/0.6729, allocations: 4 kB / 0.5579 GB, free: 5.039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007502/0.6737, allocations: 0.5492 MB / 0.5585 GB, free: 4.445 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.6738, allocations: 12.03 kB / 0.5585 GB, free: 4.434 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.6739, allocations: 47.39 kB / 0.5585 GB, free: 4.387 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.6746, allocations: 323.3 kB / 0.5588 GB, free: 4.031 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.6746, allocations: 4 kB / 0.5588 GB, free: 4.027 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.6747, allocations: 0 / 0.5588 GB, free: 4.027 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.942e-05/0.6748, allocations: 15.94 kB / 0.5589 GB, free: 4.012 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.6749, allocations: 41.69 kB / 0.5589 GB, free: 3.965 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6749, allocations: 4 kB / 0.5589 GB, free: 3.961 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.6749, allocations: 0 / 0.5589 GB, free: 3.961 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6749, allocations: 7.953 kB / 0.5589 GB, free: 3.953 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.6758, allocations: 409.3 kB / 0.5593 GB, free: 3.516 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.676, allocations: 38.5 kB / 0.5593 GB, free: 3.469 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.6761, allocations: 12.86 kB / 0.5593 GB, free: 3.453 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.6761, allocations: 4.062 kB / 0.5594 GB, free: 3.449 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.6762, allocations: 34.56 kB / 0.5594 GB, free: 3.406 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.6762, allocations: 0 / 0.5594 GB, free: 3.406 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006311/0.6768, allocations: 196 kB / 0.5596 GB, free: 3.207 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6769, allocations: 55.41 kB / 0.5596 GB, free: 3.141 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.6787, allocations: 0.7512 MB / 0.5604 GB, free: 2.379 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.6788, allocations: 25.7 kB / 0.5604 GB, free: 2.348 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.679, allocations: 234.5 kB / 0.5606 GB, free: 2.117 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.6791, allocations: 19.75 kB / 0.5606 GB, free: 2.098 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.6791, allocations: 0 / 0.5606 GB, free: 2.098 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6792, allocations: 314.8 kB / 0.5609 GB, free: 1.781 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.6793, allocations: 12 kB / 0.5609 GB, free: 1.77 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.6793, allocations: 11.94 kB / 0.5609 GB, free: 1.758 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.6794, allocations: 4 kB / 0.561 GB, free: 1.754 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6794, allocations: 0 / 0.561 GB, free: 1.754 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001618/0.6796, allocations: 57.69 kB / 0.561 GB, free: 1.691 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.6796, allocations: 4 kB / 0.561 GB, free: 1.688 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6796, allocations: 3.938 kB / 0.561 GB, free: 1.684 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.6797, allocations: 7.953 kB / 0.561 GB, free: 1.676 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6798, allocations: 15.98 kB / 0.561 GB, free: 1.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.6798, allocations: 0 / 0.561 GB, free: 1.66 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.68, allocations: 8 kB / 0.561 GB, free: 1.652 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.68, allocations: 4 kB / 0.561 GB, free: 1.648 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 (5): * Single equations (assignments): 5 * 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 8.837e-05/0.6801, allocations: 101 kB / 0.5611 GB, free: 1.543 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002285/0.6804, allocations: 97.12 kB / 0.5612 GB, free: 1.441 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.6805, allocations: 47.48 kB / 0.5613 GB, free: 1.395 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.6808, allocations: 117.2 kB / 0.5614 GB, free: 1.27 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6809, allocations: 4 kB / 0.5614 GB, free: 1.266 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6809, allocations: 0 / 0.5614 GB, free: 1.266 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6809, allocations: 0 / 0.5614 GB, free: 1.266 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.682, allocations: 0.5345 MB / 0.5619 GB, free: 0.6875 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.6821, allocations: 3.953 kB / 0.5619 GB, free: 0.6836 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.6822, allocations: 23.92 kB / 0.5619 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.6822, allocations: 0 / 0.5619 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6822, allocations: 0 / 0.5619 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.6823, allocations: 0 / 0.5619 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6823, allocations: 0 / 0.5619 GB, free: 0.6602 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.6826, allocations: 187.1 kB / 0.5621 GB, free: 472 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.6829, allocations: 164.5 kB / 0.5623 GB, free: 288 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.683, allocations: 0 / 0.5623 GB, free: 288 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.6832, allocations: 15.98 kB / 0.5623 GB, free: 272 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.6832, allocations: 0 / 0.5623 GB, free: 272 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.6832, allocations: 4 kB / 0.5623 GB, free: 268 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.6844, allocations: 0.6082 MB / 0.5629 GB, free: 15.66 MB / 411.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.6845, allocations: 0 / 0.5629 GB, free: 15.66 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.685, allocations: 55.88 kB / 0.5629 GB, free: 15.6 MB / 411.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 (5): * Single equations (assignments): 5 * 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.001615/0.6866, allocations: 0.9715 MB / 0.5639 GB, free: 14.64 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.6868, allocations: 24 kB / 0.5639 GB, free: 14.62 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6869, allocations: 3.938 kB / 0.5639 GB, free: 14.61 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.6869, allocations: 19.92 kB / 0.5639 GB, free: 14.59 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.6874, allocations: 33.39 kB / 0.564 GB, free: 14.56 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.6895, allocations: 0.8465 MB / 0.5648 GB, free: 13.67 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.6902, allocations: 0.8379 MB / 0.5656 GB, free: 12.81 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.6905, allocations: 107.3 kB / 0.5657 GB, free: 12.7 MB / 411.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6905, allocations: 0 / 0.5657 GB, free: 12.7 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.912/3.602, allocations: 7.193 MB / 0.5727 GB, free: 5.5 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat