Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28",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.002119/0.002119, 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.393/2.393, 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.001579/0.001579, allocations: 88.02 kB / 262.1 MB, free: 13.87 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.3246/0.3246, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.507e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4118, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5758, allocations: 86.08 MB / 0.5501 GB, free: 13.11 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5761, allocations: 75.95 kB / 0.5501 GB, free: 13.03 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01861/0.5947, allocations: 4.212 MB / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5948, allocations: 0 / 0.5542 GB, free: 8.816 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.113e-05/0.5948, allocations: 4 kB / 0.5542 GB, free: 8.812 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.0005295/0.5954, allocations: 398.3 kB / 0.5546 GB, free: 8.383 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5954, allocations: 8.031 kB / 0.5546 GB, free: 8.375 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.5955, allocations: 11.86 kB / 0.5546 GB, free: 8.363 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.5958, allocations: 206.7 kB / 0.5548 GB, free: 8.121 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.5958, allocations: 0 / 0.5548 GB, free: 8.121 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.5959, allocations: 4 kB / 0.5548 GB, free: 8.117 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.458e-05/0.596, allocations: 15.94 kB / 0.5549 GB, free: 8.102 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.5961, allocations: 41.7 kB / 0.5549 GB, free: 8.055 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.5961, allocations: 3.984 kB / 0.5549 GB, free: 8.051 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5961, allocations: 0 / 0.5549 GB, free: 8.051 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.5962, allocations: 4 kB / 0.5549 GB, free: 8.047 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.5966, allocations: 277.3 kB / 0.5552 GB, free: 7.738 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.244e-05/0.5967, allocations: 30.52 kB / 0.5552 GB, free: 7.699 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.5968, allocations: 16.86 kB / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.5968, allocations: 0 / 0.5552 GB, free: 7.68 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5969, allocations: 34.56 kB / 0.5553 GB, free: 7.637 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.5969, allocations: 0 / 0.5553 GB, free: 7.637 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.000655/0.5975, allocations: 153.2 kB / 0.5554 GB, free: 7.48 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5976, allocations: 55.41 kB / 0.5555 GB, free: 7.414 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.5979, allocations: 164.2 kB / 0.5556 GB, free: 7.25 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.5979, allocations: 29.7 kB / 0.5556 GB, free: 7.215 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.598, allocations: 158.6 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.5981, allocations: 27.64 kB / 0.5558 GB, free: 7.031 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.5981, allocations: 0 / 0.5558 GB, free: 7.031 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5983, allocations: 315.4 kB / 0.5561 GB, free: 6.715 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.5983, allocations: 16 kB / 0.5561 GB, free: 6.699 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.535e-05/0.5984, allocations: 12.08 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.5985, allocations: 20.12 kB / 0.5562 GB, free: 6.668 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5985, allocations: 0 / 0.5562 GB, free: 6.668 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001679/0.5987, allocations: 73.55 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5987, allocations: 7.984 kB / 0.5562 GB, free: 6.582 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5987, allocations: 0 / 0.5562 GB, free: 6.582 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5987, allocations: 4 kB / 0.5562 GB, free: 6.578 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.599, allocations: 23.92 kB / 0.5563 GB, free: 6.555 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.599, allocations: 3.953 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.5991, allocations: 19.98 kB / 0.5563 GB, free: 6.531 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5992, allocations: 0 / 0.5563 GB, free: 6.531 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 (7): * Single equations (assignments): 7 * 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.062e-05/0.5992, allocations: 101 kB / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001772/0.5994, allocations: 73.59 kB / 0.5565 GB, free: 6.348 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.5995, allocations: 12.05 kB / 0.5565 GB, free: 6.336 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.5997, allocations: 98.16 kB / 0.5566 GB, free: 6.234 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5998, allocations: 0 / 0.5566 GB, free: 6.234 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5998, allocations: 0 / 0.5566 GB, free: 6.234 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5998, allocations: 0 / 0.5566 GB, free: 6.234 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.6003, allocations: 343 kB / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.6003, allocations: 0 / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.6005, allocations: 31.92 kB / 0.5569 GB, free: 5.824 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.6005, allocations: 3.953 kB / 0.5569 GB, free: 5.82 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.6006, allocations: 0 / 0.5569 GB, free: 5.82 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6006, allocations: 4 kB / 0.5569 GB, free: 5.816 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6006, allocations: 0 / 0.5569 GB, free: 5.816 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.6008, allocations: 167.8 kB / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.6009, allocations: 93 kB / 0.5572 GB, free: 5.527 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.6009, allocations: 3.953 kB / 0.5572 GB, free: 5.523 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.6011, allocations: 15.98 kB / 0.5572 GB, free: 5.508 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.6012, allocations: 7.984 kB / 0.5572 GB, free: 5.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.6012, allocations: 0 / 0.5572 GB, free: 5.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.6014, allocations: 144.1 kB / 0.5573 GB, free: 5.359 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6014, allocations: 0 / 0.5573 GB, free: 5.359 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.6018, allocations: 31.86 kB / 0.5574 GB, free: 5.328 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 (7): * Single equations (assignments): 7 * 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.001426/0.6032, allocations: 0.9337 MB / 0.5583 GB, free: 4.41 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.6034, allocations: 36 kB / 0.5583 GB, free: 4.375 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6034, allocations: 0 / 0.5583 GB, free: 4.375 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.6035, allocations: 23.94 kB / 0.5583 GB, free: 4.352 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.6038, allocations: 19.88 kB / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.6045, allocations: 239.5 kB / 0.5586 GB, free: 4.051 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6049, allocations: 0.7158 MB / 0.5593 GB, free: 3.309 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.605, allocations: 35.36 kB / 0.5593 GB, free: 3.273 MB / 395.1 MB Notification: Performance of SimCode: time 7.31e-07/0.605, allocations: 0 / 0.5593 GB, free: 3.273 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.629/3.234, allocations: 2.225 MB / 0.5615 GB, free: 1.055 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat does not exist to compare? outputFormat=mat