Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4",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.002933/0.002933, 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.275/2.275, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.00112/0.00112, allocations: 90.31 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.2973/0.2973, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.251e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4063, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5704, allocations: 85.84 MB / 0.5498 GB, free: 13.37 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5708, allocations: 71.97 kB / 0.5499 GB, free: 13.3 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01888/0.5897, allocations: 4.228 MB / 0.554 GB, free: 9.07 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5897, allocations: 0 / 0.554 GB, free: 9.07 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.5897, allocations: 0 / 0.554 GB, free: 9.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00056/0.5903, allocations: 398.8 kB / 0.5544 GB, free: 8.637 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5904, allocations: 8.031 kB / 0.5544 GB, free: 8.629 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.5904, allocations: 19.8 kB / 0.5544 GB, free: 8.609 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.5908, allocations: 210.8 kB / 0.5546 GB, free: 8.363 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.5908, allocations: 4 kB / 0.5546 GB, free: 8.359 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5909, allocations: 4 kB / 0.5546 GB, free: 8.355 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/0.591, allocations: 23.94 kB / 0.5547 GB, free: 8.332 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.5912, allocations: 75.27 kB / 0.5547 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5912, allocations: 0 / 0.5547 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5912, allocations: 0 / 0.5547 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.5912, allocations: 0 / 0.5547 GB, free: 8.246 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.5919, allocations: 389.5 kB / 0.5551 GB, free: 7.824 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.5922, allocations: 73.17 kB / 0.5552 GB, free: 7.734 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.5923, allocations: 21.72 kB / 0.5552 GB, free: 7.707 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.5924, allocations: 4 kB / 0.5552 GB, free: 7.703 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5924, allocations: 42.73 kB / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.5924, allocations: 0 / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008011/0.5932, allocations: 184.8 kB / 0.5554 GB, free: 7.465 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.5933, allocations: 81.06 kB / 0.5555 GB, free: 7.367 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.5937, allocations: 197.5 kB / 0.5557 GB, free: 7.164 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.5937, allocations: 25.7 kB / 0.5557 GB, free: 7.133 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.5938, allocations: 178.5 kB / 0.5559 GB, free: 6.957 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.5939, allocations: 31.55 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.5939, allocations: 0 / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.594, allocations: 310.8 kB / 0.5562 GB, free: 6.613 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.5941, allocations: 23.98 kB / 0.5562 GB, free: 6.59 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.9e-05/0.5942, allocations: 33.72 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.967e-05/0.5943, allocations: 31.92 kB / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5943, allocations: 0 / 0.5563 GB, free: 6.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002383/0.5946, allocations: 89.67 kB / 0.5564 GB, free: 6.426 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5946, allocations: 4 kB / 0.5564 GB, free: 6.422 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5946, allocations: 4 kB / 0.5564 GB, free: 6.418 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5946, allocations: 0 / 0.5564 GB, free: 6.418 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.5948, allocations: 23.92 kB / 0.5564 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5949, allocations: 4 kB / 0.5564 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.595, allocations: 11.94 kB / 0.5564 GB, free: 6.379 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.595, allocations: 4.25 kB / 0.5564 GB, free: 6.375 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.831e-05/0.5951, allocations: 105 kB / 0.5565 GB, free: 6.266 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002718/0.5954, allocations: 105.4 kB / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.5955, allocations: 15.81 kB / 0.5566 GB, free: 6.141 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.5958, allocations: 123.2 kB / 0.5568 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5959, allocations: 4 kB / 0.5568 GB, free: 6.016 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5959, allocations: 11.83 kB / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5959, allocations: 0 / 0.5568 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008508/0.5968, allocations: 483.6 kB / 0.5572 GB, free: 5.484 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.5968, allocations: 0 / 0.5572 GB, free: 5.484 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.597, allocations: 27.92 kB / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.597, allocations: 0 / 0.5573 GB, free: 5.457 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.5971, allocations: 8 kB / 0.5573 GB, free: 5.449 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5971, allocations: 0 / 0.5573 GB, free: 5.449 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5971, allocations: 3.984 kB / 0.5573 GB, free: 5.445 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.5975, allocations: 310.8 kB / 0.5576 GB, free: 5.109 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5976, allocations: 92.92 kB / 0.5577 GB, free: 5 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.5976, allocations: 0 / 0.5577 GB, free: 5 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.5978, allocations: 16.3 kB / 0.5577 GB, free: 4.984 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.5979, allocations: 15.92 kB / 0.5577 GB, free: 4.969 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5979, allocations: 4 kB / 0.5577 GB, free: 4.965 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.5981, allocations: 160.2 kB / 0.5578 GB, free: 4.809 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5981, allocations: 0 / 0.5578 GB, free: 4.809 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.5986, allocations: 27.98 kB / 0.5579 GB, free: 4.781 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001667/0.6003, allocations: 1.194 MB / 0.559 GB, free: 3.594 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.6006, allocations: 63.92 kB / 0.5591 GB, free: 3.531 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6006, allocations: 0 / 0.5591 GB, free: 3.531 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.6007, allocations: 31.94 kB / 0.5591 GB, free: 3.5 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.6012, allocations: 19.84 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.6023, allocations: 313.6 kB / 0.5594 GB, free: 3.125 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.6027, allocations: 0.7236 MB / 0.5602 GB, free: 2.375 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.6029, allocations: 39.42 kB / 0.5602 GB, free: 2.336 MB / 395.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6029, allocations: 0 / 0.5602 GB, free: 2.336 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.786/3.389, allocations: 2.536 MB / 0.5627 GB, free: 15.8 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test4_res.mat does not exist to compare? outputFormat=mat