Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6",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.002107/0.002107, allocations: 181.5 kB / 8.365 MB, free: 0.7109 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.124/2.124, allocations: 205.3 MB / 214.1 MB, free: 14.07 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.001103/0.001103, allocations: 88.23 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.2852/0.2852, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.072e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.424, allocations: 58.86 MB / 477.2 MB, free: 5.137 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.5973, allocations: 85.85 MB / 0.5498 GB, free: 13.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5977, allocations: 71.97 kB / 0.5499 GB, free: 13.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01839/0.6161, allocations: 4.232 MB / 0.554 GB, free: 9.043 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6162, allocations: 4 kB / 0.554 GB, free: 9.039 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.6162, allocations: 0 / 0.554 GB, free: 9.039 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.00051/0.6167, allocations: 398.8 kB / 0.5544 GB, free: 8.605 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6168, allocations: 12.03 kB / 0.5544 GB, free: 8.594 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.6168, allocations: 11.81 kB / 0.5545 GB, free: 8.582 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.6172, allocations: 214.8 kB / 0.5547 GB, free: 8.332 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.6172, allocations: 4 kB / 0.5547 GB, free: 8.328 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.6173, allocations: 0 / 0.5547 GB, free: 8.328 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/0.6174, allocations: 27.94 kB / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.6176, allocations: 71.33 kB / 0.5548 GB, free: 8.219 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6176, allocations: 4 kB / 0.5548 GB, free: 8.215 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6176, allocations: 0 / 0.5548 GB, free: 8.215 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6176, allocations: 0 / 0.5548 GB, free: 8.215 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.6183, allocations: 377.5 kB / 0.5551 GB, free: 7.805 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.6186, allocations: 85.16 kB / 0.5552 GB, free: 7.703 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.6187, allocations: 21.72 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.6187, allocations: 0 / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.6188, allocations: 38.8 kB / 0.5553 GB, free: 7.629 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.6188, allocations: 11.88 kB / 0.5553 GB, free: 7.617 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007664/0.6196, allocations: 180.8 kB / 0.5554 GB, free: 7.434 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.6196, allocations: 85.05 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.62, allocations: 201.5 kB / 0.5557 GB, free: 7.125 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.62, allocations: 25.7 kB / 0.5557 GB, free: 7.094 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.6201, allocations: 170.5 kB / 0.5559 GB, free: 6.926 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.6202, allocations: 31.55 kB / 0.5559 GB, free: 6.895 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.6202, allocations: 4 kB / 0.5559 GB, free: 6.891 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6203, allocations: 314.8 kB / 0.5562 GB, free: 6.574 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.6204, allocations: 23.98 kB / 0.5563 GB, free: 6.551 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.6205, allocations: 29.72 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.912e-05/0.6206, allocations: 31.92 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6206, allocations: 0 / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002244/0.6208, allocations: 85.67 kB / 0.5564 GB, free: 6.395 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6209, allocations: 4 kB / 0.5564 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.6209, allocations: 4 kB / 0.5564 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6209, allocations: 4 kB / 0.5564 GB, free: 6.383 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.6211, allocations: 23.98 kB / 0.5564 GB, free: 6.359 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6211, allocations: 3.938 kB / 0.5564 GB, free: 6.355 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.6212, allocations: 15.94 kB / 0.5565 GB, free: 6.34 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.6212, allocations: 0 / 0.5565 GB, free: 6.34 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 9.958e-05/0.6213, allocations: 105 kB / 0.5566 GB, free: 6.23 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002746/0.6216, allocations: 109.7 kB / 0.5567 GB, free: 6.117 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.6217, allocations: 15.81 kB / 0.5567 GB, free: 6.102 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.6222, allocations: 123.2 kB / 0.5568 GB, free: 5.98 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6222, allocations: 0 / 0.5568 GB, free: 5.98 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.6222, allocations: 11.89 kB / 0.5568 GB, free: 5.969 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.6223, allocations: 0 / 0.5568 GB, free: 5.969 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.6236, allocations: 479.4 kB / 0.5573 GB, free: 5.453 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6236, allocations: 48 / 0.5573 GB, free: 5.453 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.6239, allocations: 31.97 kB / 0.5573 GB, free: 5.422 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.6239, allocations: 0 / 0.5573 GB, free: 5.422 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.6239, allocations: 3.953 kB / 0.5573 GB, free: 5.418 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.624, allocations: 4 kB / 0.5573 GB, free: 5.414 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.624, allocations: 0 / 0.5573 GB, free: 5.414 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.6245, allocations: 311 kB / 0.5576 GB, free: 5.078 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6246, allocations: 96.92 kB / 0.5577 GB, free: 4.965 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.6247, allocations: 0 / 0.5577 GB, free: 4.965 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.625, allocations: 7.984 kB / 0.5577 GB, free: 4.957 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.6251, allocations: 11.92 kB / 0.5577 GB, free: 4.945 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.6251, allocations: 12 kB / 0.5577 GB, free: 4.934 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0003177/0.6254, allocations: 156.2 kB / 0.5579 GB, free: 4.781 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6255, allocations: 0 / 0.5579 GB, free: 4.781 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0007276/0.6262, allocations: 31.98 kB / 0.5579 GB, free: 4.75 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.002286/0.6285, allocations: 1.197 MB / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.6289, allocations: 59.92 kB / 0.5591 GB, free: 3.504 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6289, allocations: 0 / 0.5591 GB, free: 3.504 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.629, allocations: 39.94 kB / 0.5592 GB, free: 3.465 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.6296, allocations: 19.28 kB / 0.5592 GB, free: 3.449 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.631, allocations: 317.6 kB / 0.5595 GB, free: 3.09 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.6316, allocations: 0.7158 MB / 0.5602 GB, free: 2.348 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.6318, allocations: 39.42 kB / 0.5602 GB, free: 2.309 MB / 395.1 MB Notification: Performance of SimCode: time 1.152e-06/0.6318, allocations: 4.062 kB / 0.5602 GB, free: 2.305 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.833/3.464, allocations: 2.529 MB / 0.5627 GB, free: 15.77 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat does not exist to compare? outputFormat=mat