Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force",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.002438/0.002438, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.103/2.103, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001139/0.001139, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3247/0.3247, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.712e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1679, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5859/0.7539, allocations: 89.92 MB / 0.5607 GB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.7543, allocations: 82.16 kB / 0.5608 GB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.7795, allocations: 5.605 MB / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7795, allocations: 0 / 0.5663 GB, free: 8.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.847e-05/0.7796, allocations: 8 kB / 0.5663 GB, free: 8.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001552/0.7811, allocations: 0.6033 MB / 0.5669 GB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7812, allocations: 8.031 kB / 0.5669 GB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.7813, allocations: 74.16 kB / 0.5669 GB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.7814, allocations: 47.83 kB / 0.567 GB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.7819, allocations: 276.4 kB / 0.5672 GB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.782, allocations: 28.97 kB / 0.5673 GB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.961e-05/0.7821, allocations: 34.69 kB / 0.5673 GB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.7829, allocations: 317.7 kB / 0.5676 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.783, allocations: 7.938 kB / 0.5676 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.783, allocations: 13.69 kB / 0.5676 GB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.7831, allocations: 15.94 kB / 0.5676 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.7839, allocations: 270.1 kB / 0.5679 GB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.7873, allocations: 1.358 MB / 0.5692 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.7881, allocations: 257 kB / 0.5695 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.7885, allocations: 153.2 kB / 0.5696 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.7885, allocations: 288 / 0.5696 GB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7886, allocations: 38.83 kB / 0.5696 GB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.7886, allocations: 0 / 0.5696 GB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007605/0.7894, allocations: 261.7 kB / 0.5699 GB, free: 5.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.7894, allocations: 55.41 kB / 0.57 GB, free: 5.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.7898, allocations: 231.1 kB / 0.5702 GB, free: 5.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.7899, allocations: 36.27 kB / 0.5702 GB, free: 5.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.79, allocations: 260.3 kB / 0.5705 GB, free: 5.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.7902, allocations: 120.4 kB / 0.5706 GB, free: 4.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.7902, allocations: 6.25 kB / 0.5706 GB, free: 4.949 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7904, allocations: 330.1 kB / 0.5709 GB, free: 4.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.7907, allocations: 92.86 kB / 0.571 GB, free: 4.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.791, allocations: 150.8 kB / 0.5711 GB, free: 4.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.7914, allocations: 118.2 kB / 0.5712 GB, free: 4.355 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7914, allocations: 0 / 0.5712 GB, free: 4.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008402/0.7923, allocations: 321 kB / 0.5715 GB, free: 4.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.7923, allocations: 8 kB / 0.5715 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.7923, allocations: 0 / 0.5715 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.7924, allocations: 4.219 kB / 0.5716 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/0.7933, allocations: 107.4 kB / 0.5717 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.7933, allocations: 7.984 kB / 0.5717 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.7938, allocations: 46.92 kB / 0.5717 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.7939, allocations: 15.38 kB / 0.5717 GB, free: 3.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001418/0.7941, allocations: 129 kB / 0.5718 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.7942, allocations: 31.62 kB / 0.5719 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008855/0.7951, allocations: 303.3 kB / 0.5722 GB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.7951, allocations: 3.984 kB / 0.5722 GB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7951, allocations: 4 kB / 0.5722 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7951, allocations: 0 / 0.5722 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.7959, allocations: 408.5 kB / 0.5726 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7959, allocations: 0 / 0.5726 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.7967, allocations: 83.45 kB / 0.5726 GB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.7967, allocations: 3.984 kB / 0.5726 GB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.7968, allocations: 11.25 kB / 0.5727 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7968, allocations: 0 / 0.5727 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7968, allocations: 0 / 0.5727 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.7979, allocations: 496.5 kB / 0.5731 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.7981, allocations: 134.3 kB / 0.5733 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.7982, allocations: 3.5 kB / 0.5733 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.7986, allocations: 19.36 kB / 0.5733 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.7987, allocations: 18.72 kB / 0.5733 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.7987, allocations: 10.5 kB / 0.5733 GB, free: 2.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002979/0.7991, allocations: 187.4 kB / 0.5735 GB, free: 2.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7991, allocations: 0 / 0.5735 GB, free: 2.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005126/0.7996, allocations: 91.22 kB / 0.5736 GB, free: 2.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.001427/0.801, allocations: 1.019 MB / 0.5746 GB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007425/0.8018, allocations: 245.4 kB / 0.5748 GB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8018, allocations: 3.938 kB / 0.5748 GB, free: 1.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.8021, allocations: 119.7 kB / 0.5749 GB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.8025, allocations: 23.97 kB / 0.5749 GB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.8047, allocations: 0.6496 MB / 0.5756 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.8052, allocations: 0.7913 MB / 0.5764 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.8055, allocations: 114 kB / 0.5765 GB, free: 15.64 MB / 394.7 MB Notification: Performance of SimCode: time 8.81e-07/0.8055, allocations: 0 / 0.5765 GB, free: 15.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.486/3.292, allocations: 5.209 MB / 0.5815 GB, free: 10.49 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat