Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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.0015/0.0015, allocations: 178.4 kB / 8.362 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.136/2.136, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.001086/0.001086, allocations: 86.88 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.39/0.39, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.296e-05, allocations: 4 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4435, allocations: 58.84 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.6031, allocations: 86.54 MB / 0.5505 GB, free: 12.66 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.6035, allocations: 79.44 kB / 0.5506 GB, free: 12.59 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03158/0.6351, allocations: 8.029 MB / 0.5584 GB, free: 4.539 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6351, allocations: 0 / 0.5584 GB, free: 4.539 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.774e-05/0.6352, allocations: 4 kB / 0.5584 GB, free: 4.535 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.0008018/0.636, allocations: 0.5608 MB / 0.559 GB, free: 3.93 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.636, allocations: 8.031 kB / 0.559 GB, free: 3.922 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.6362, allocations: 47.39 kB / 0.559 GB, free: 3.875 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.6369, allocations: 327.3 kB / 0.5593 GB, free: 3.516 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.6369, allocations: 0 / 0.5593 GB, free: 3.516 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.637, allocations: 8 kB / 0.5593 GB, free: 3.508 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/0.6371, allocations: 12 kB / 0.5594 GB, free: 3.496 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.6372, allocations: 49.67 kB / 0.5594 GB, free: 3.441 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.6372, allocations: 7.938 kB / 0.5594 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.6373, allocations: 3.938 kB / 0.5594 GB, free: 3.43 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6373, allocations: 7.891 kB / 0.5594 GB, free: 3.422 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.6382, allocations: 417.3 kB / 0.5598 GB, free: 2.977 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.6385, allocations: 34.58 kB / 0.5599 GB, free: 2.934 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.6385, allocations: 16.86 kB / 0.5599 GB, free: 2.914 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.6386, allocations: 4.078 kB / 0.5599 GB, free: 2.91 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.6386, allocations: 38.48 kB / 0.5599 GB, free: 2.863 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.6386, allocations: 4 kB / 0.5599 GB, free: 2.859 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006624/0.6393, allocations: 188 kB / 0.5601 GB, free: 2.668 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.6393, allocations: 55.39 kB / 0.5601 GB, free: 2.602 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.6413, allocations: 0.7589 MB / 0.5609 GB, free: 1.836 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.6414, allocations: 25.7 kB / 0.5609 GB, free: 1.805 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.6416, allocations: 234.5 kB / 0.5611 GB, free: 1.574 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.6416, allocations: 15.8 kB / 0.5612 GB, free: 1.559 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.6416, allocations: 0 / 0.5612 GB, free: 1.559 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6418, allocations: 314.8 kB / 0.5615 GB, free: 1.242 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.6418, allocations: 15.94 kB / 0.5615 GB, free: 1.227 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.6419, allocations: 8 kB / 0.5615 GB, free: 1.219 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.642, allocations: 15.98 kB / 0.5615 GB, free: 1.203 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.642, allocations: 4 kB / 0.5615 GB, free: 1.199 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001769/0.6422, allocations: 57.69 kB / 0.5615 GB, free: 1.137 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6422, allocations: 4 kB / 0.5616 GB, free: 1.133 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6422, allocations: 4 kB / 0.5616 GB, free: 1.129 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6422, allocations: 3.953 kB / 0.5616 GB, free: 1.125 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.6424, allocations: 15.98 kB / 0.5616 GB, free: 1.109 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6424, allocations: 0 / 0.5616 GB, free: 1.109 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.6426, allocations: 4 kB / 0.5616 GB, free: 1.105 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.6426, allocations: 8 kB / 0.5616 GB, free: 1.098 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.681e-05/0.6427, allocations: 105 kB / 0.5617 GB, free: 0.9883 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002507/0.643, allocations: 105.3 kB / 0.5618 GB, free: 0.8789 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.6431, allocations: 47.39 kB / 0.5618 GB, free: 0.832 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.6435, allocations: 117.4 kB / 0.5619 GB, free: 0.7031 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6435, allocations: 4 kB / 0.5619 GB, free: 0.6992 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6435, allocations: 0 / 0.5619 GB, free: 0.6992 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6435, allocations: 0 / 0.5619 GB, free: 0.6992 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.6447, allocations: 0.5535 MB / 0.5625 GB, free: 104 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6447, allocations: 3.953 kB / 0.5625 GB, free: 100 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.6449, allocations: 15.98 kB / 0.5625 GB, free: 84 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6449, allocations: 0 / 0.5625 GB, free: 84 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.6449, allocations: 0 / 0.5625 GB, free: 84 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.6449, allocations: 4 kB / 0.5625 GB, free: 80 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.6449, allocations: 0 / 0.5625 GB, free: 80 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.6453, allocations: 202.9 kB / 0.5627 GB, free: 15.86 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.6456, allocations: 164.6 kB / 0.5629 GB, free: 15.68 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.6457, allocations: 0 / 0.5629 GB, free: 15.68 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.6459, allocations: 7.984 kB / 0.5629 GB, free: 15.68 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.6459, allocations: 4 kB / 0.5629 GB, free: 15.67 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.6459, allocations: 0 / 0.5629 GB, free: 15.67 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.6471, allocations: 0.6082 MB / 0.5635 GB, free: 15.07 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6471, allocations: 0 / 0.5635 GB, free: 15.07 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.6476, allocations: 67.84 kB / 0.5635 GB, free: 15 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.001538/0.6492, allocations: 0.9615 MB / 0.5645 GB, free: 14.06 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.6494, allocations: 35.98 kB / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6494, allocations: 0 / 0.5645 GB, free: 14.02 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.6495, allocations: 19.94 kB / 0.5645 GB, free: 14 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.6499, allocations: 29.38 kB / 0.5646 GB, free: 13.98 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.6521, allocations: 0.8737 MB / 0.5654 GB, free: 13.06 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.6528, allocations: 0.8341 MB / 0.5662 GB, free: 12.2 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.6531, allocations: 119.4 kB / 0.5663 GB, free: 12.08 MB / 411.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6531, allocations: 0 / 0.5663 GB, free: 12.08 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.68/3.333, allocations: 7.272 MB / 0.5734 GB, free: 4.797 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat