Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",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.002423/0.002423, allocations: 177.8 kB / 8.36 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.356/2.356, 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.001089/0.001089, allocations: 96.14 kB / 262.1 MB, free: 13.86 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.311/0.311, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.111e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4176, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.5838, allocations: 86.47 MB / 0.5504 GB, free: 12.74 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.5841, allocations: 71.97 kB / 0.5505 GB, free: 12.67 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.6023, allocations: 4.414 MB / 0.5548 GB, free: 8.25 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6024, allocations: 0 / 0.5548 GB, free: 8.25 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.6024, allocations: 3.938 kB / 0.5548 GB, free: 8.246 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.0005691/0.603, allocations: 399.3 kB / 0.5552 GB, free: 7.812 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.603, allocations: 12.03 kB / 0.5552 GB, free: 7.801 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.6031, allocations: 15.86 kB / 0.5552 GB, free: 7.785 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.6034, allocations: 207.5 kB / 0.5554 GB, free: 7.539 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.6035, allocations: 0 / 0.5554 GB, free: 7.539 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.6035, allocations: 4 kB / 0.5554 GB, free: 7.535 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001124/0.6036, allocations: 28.47 kB / 0.5555 GB, free: 7.508 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.6037, allocations: 41.69 kB / 0.5555 GB, free: 7.461 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6038, allocations: 0 / 0.5555 GB, free: 7.461 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6038, allocations: 0 / 0.5555 GB, free: 7.461 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6038, allocations: 4 kB / 0.5555 GB, free: 7.457 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.6044, allocations: 309.2 kB / 0.5558 GB, free: 7.117 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.6045, allocations: 42.45 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.6046, allocations: 12.86 kB / 0.5559 GB, free: 7.051 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.6046, allocations: 0 / 0.5559 GB, free: 7.051 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6047, allocations: 42.56 kB / 0.5559 GB, free: 7 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6047, allocations: 0 / 0.5559 GB, free: 7 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006761/0.6054, allocations: 157.1 kB / 0.556 GB, free: 6.84 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.6054, allocations: 55.41 kB / 0.5561 GB, free: 6.773 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.6057, allocations: 181.5 kB / 0.5563 GB, free: 6.586 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.6058, allocations: 29.7 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.6058, allocations: 166.6 kB / 0.5565 GB, free: 6.387 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.6059, allocations: 27.64 kB / 0.5565 GB, free: 6.359 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.6059, allocations: 0 / 0.5565 GB, free: 6.359 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6061, allocations: 314.8 kB / 0.5568 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.6061, allocations: 24.06 kB / 0.5568 GB, free: 6.02 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.6062, allocations: 19.98 kB / 0.5568 GB, free: 6 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.582e-05/0.6063, allocations: 23.98 kB / 0.5568 GB, free: 5.977 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6063, allocations: 0 / 0.5568 GB, free: 5.977 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001982/0.6065, allocations: 81.59 kB / 0.5569 GB, free: 5.891 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6065, allocations: 4 kB / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6066, allocations: 0 / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6066, allocations: 0 / 0.5569 GB, free: 5.887 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.6068, allocations: 27.92 kB / 0.557 GB, free: 5.859 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6069, allocations: 3.953 kB / 0.557 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.607, allocations: 11.98 kB / 0.557 GB, free: 5.844 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.607, allocations: 8 kB / 0.557 GB, free: 5.836 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.017e-05/0.6071, allocations: 101 kB / 0.5571 GB, free: 5.73 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002166/0.6074, allocations: 89.58 kB / 0.5572 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.6074, allocations: 11.81 kB / 0.5572 GB, free: 5.625 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.6077, allocations: 115.8 kB / 0.5573 GB, free: 5.508 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6077, allocations: 144 / 0.5573 GB, free: 5.508 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6077, allocations: 0 / 0.5573 GB, free: 5.508 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6078, allocations: 3.984 kB / 0.5573 GB, free: 5.504 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008186/0.6086, allocations: 367.1 kB / 0.5576 GB, free: 5.102 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6086, allocations: 0 / 0.5576 GB, free: 5.102 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.6089, allocations: 35.84 kB / 0.5577 GB, free: 5.066 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.6089, allocations: 3.953 kB / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.609, allocations: 0 / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.609, allocations: 0 / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.609, allocations: 0 / 0.5577 GB, free: 5.062 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.6094, allocations: 183.4 kB / 0.5578 GB, free: 4.867 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6095, allocations: 96.92 kB / 0.5579 GB, free: 4.754 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.6095, allocations: 3.953 kB / 0.5579 GB, free: 4.75 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.6098, allocations: 15.92 kB / 0.558 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.6099, allocations: 7.984 kB / 0.558 GB, free: 4.727 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.6099, allocations: 4 kB / 0.558 GB, free: 4.723 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.6102, allocations: 155.2 kB / 0.5581 GB, free: 4.57 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6102, allocations: 0 / 0.5581 GB, free: 4.57 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.6107, allocations: 27.92 kB / 0.5581 GB, free: 4.543 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.001686/0.6125, allocations: 0.9379 MB / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.6127, allocations: 51.98 kB / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6127, allocations: 0 / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.6128, allocations: 31.92 kB / 0.5591 GB, free: 3.543 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.6131, allocations: 27.19 kB / 0.5592 GB, free: 3.52 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.6139, allocations: 271.7 kB / 0.5594 GB, free: 3.211 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.6143, allocations: 0.7275 MB / 0.5601 GB, free: 2.457 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.6144, allocations: 31.42 kB / 0.5602 GB, free: 2.426 MB / 395.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6144, allocations: 0 / 0.5602 GB, free: 2.426 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/3.268, allocations: 2.453 MB / 0.5626 GB, free: 15.98 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat