Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_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.001541/0.001541, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001174, allocations: 88.44 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5429/0.5429, allocations: 43.56 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007126/0.0007126, allocations: 19.98 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1773, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6731, allocations: 86.38 MB / 0.5632 GB, free: 8 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.6735, allocations: 72.05 kB / 0.5632 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01729/0.6908, allocations: 3.933 MB / 0.5671 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6909, allocations: 0 / 0.5671 GB, free: 12.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.6909, allocations: 3.938 kB / 0.5671 GB, free: 12.04 MB / 394.7 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.0006404/0.6916, allocations: 412.2 kB / 0.5675 GB, free: 11.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.6916, allocations: 11.97 kB / 0.5675 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.6917, allocations: 34.56 kB / 0.5675 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.6918, allocations: 11.34 kB / 0.5675 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.6921, allocations: 198.9 kB / 0.5677 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6921, allocations: 0 / 0.5677 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.6921, allocations: 4 kB / 0.5677 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.6923, allocations: 53.62 kB / 0.5678 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6924, allocations: 4 kB / 0.5678 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.6924, allocations: 0 / 0.5678 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6924, allocations: 0 / 0.5678 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.6926, allocations: 25.02 kB / 0.5678 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.6931, allocations: 292.8 kB / 0.5681 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.6934, allocations: 54.48 kB / 0.5681 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.6934, allocations: 0 / 0.5681 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.6934, allocations: 30.56 kB / 0.5682 GB, free: 10.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.6935, allocations: 0 / 0.5682 GB, free: 10.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008364/0.6943, allocations: 162.4 kB / 0.5683 GB, free: 10.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.6944, allocations: 63.36 kB / 0.5684 GB, free: 10.54 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.6947, allocations: 177.4 kB / 0.5686 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.6947, allocations: 33.7 kB / 0.5686 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.6948, allocations: 162.5 kB / 0.5687 GB, free: 10.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.6948, allocations: 15.81 kB / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.6949, allocations: 3.938 kB / 0.5688 GB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.695, allocations: 315 kB / 0.5691 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.6951, allocations: 23.98 kB / 0.5691 GB, free: 9.797 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.6953, allocations: 23.98 kB / 0.5691 GB, free: 9.773 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.6954, allocations: 23.98 kB / 0.5691 GB, free: 9.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6954, allocations: 0 / 0.5691 GB, free: 9.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003127/0.6958, allocations: 82.17 kB / 0.5692 GB, free: 9.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.6958, allocations: 8 kB / 0.5692 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6958, allocations: 0 / 0.5692 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6958, allocations: 0 / 0.5692 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.696, allocations: 17.73 kB / 0.5692 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.696, allocations: 0 / 0.5692 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.6961, allocations: 11.95 kB / 0.5692 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.6961, allocations: 0 / 0.5692 GB, free: 9.629 MB / 394.7 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 () * Number of clocked 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 0.000137/0.6962, allocations: 137.8 kB / 0.5694 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.6963, allocations: 11.91 kB / 0.5694 GB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.6967, allocations: 101.8 kB / 0.5695 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6967, allocations: 0 / 0.5695 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6967, allocations: 0 / 0.5695 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6967, allocations: 0 / 0.5695 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.6974, allocations: 383.3 kB / 0.5699 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.6975, allocations: 0 / 0.5699 GB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6976, allocations: 15.98 kB / 0.5699 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.6976, allocations: 0 / 0.5699 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.6976, allocations: 0 / 0.5699 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6976, allocations: 4 kB / 0.5699 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.6976, allocations: 8.266 kB / 0.5699 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.698, allocations: 187.4 kB / 0.5701 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.6981, allocations: 97 kB / 0.5701 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.6982, allocations: 4 kB / 0.5702 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.6983, allocations: 8 kB / 0.5702 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.6983, allocations: 3.984 kB / 0.5702 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.6984, allocations: 7.953 kB / 0.5702 GB, free: 8.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.6986, allocations: 155.8 kB / 0.5703 GB, free: 8.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6986, allocations: 0 / 0.5703 GB, free: 8.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.699, allocations: 23.94 kB / 0.5703 GB, free: 8.402 MB / 394.7 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 () * Number of clocked 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.001805/0.7008, allocations: 1.038 MB / 0.5714 GB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.7011, allocations: 55.97 kB / 0.5714 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7012, allocations: 0 / 0.5714 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.7013, allocations: 31.92 kB / 0.5714 GB, free: 7.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.7016, allocations: 11.98 kB / 0.5715 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.7034, allocations: 0.7146 MB / 0.5722 GB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.7038, allocations: 0.7004 MB / 0.5728 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.7039, allocations: 31.48 kB / 0.5729 GB, free: 5.824 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7039, allocations: 0 / 0.5729 GB, free: 5.824 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.397, allocations: 2.074 MB / 0.5749 GB, free: 3.75 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat