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.001563/0.001563, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.026/2.026, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.00116/0.00116, allocations: 100.3 kB / 270.9 MB, free: 8.387 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.5668/0.5668, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006476/0.0006477, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1562, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4872/0.6435, allocations: 90.01 MB / 0.5667 GB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.6439, allocations: 75.95 kB / 0.5668 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0262/0.6701, allocations: 5.622 MB / 0.5723 GB, free: 6.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.6701, allocations: 0 / 0.5723 GB, free: 6.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.677e-05/0.6702, allocations: 11.94 kB / 0.5723 GB, free: 6.812 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001838/0.672, allocations: 0.6371 MB / 0.5729 GB, free: 6.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.6721, allocations: 8.031 kB / 0.5729 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.6723, allocations: 78.52 kB / 0.573 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.6724, allocations: 39.53 kB / 0.573 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.6729, allocations: 275.6 kB / 0.5733 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.673, allocations: 29 kB / 0.5733 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.824e-05/0.6731, allocations: 36 kB / 0.5734 GB, free: 5.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.6742, allocations: 343.8 kB / 0.5737 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.6743, allocations: 0 / 0.5737 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.6744, allocations: 19.94 kB / 0.5737 GB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6744, allocations: 12 kB / 0.5737 GB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.6756, allocations: 315.8 kB / 0.574 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.6795, allocations: 1.351 MB / 0.5753 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/0.6804, allocations: 281.9 kB / 0.5756 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.6805, allocations: 4.281 kB / 0.5756 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.6805, allocations: 34.84 kB / 0.5757 GB, free: 3.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.775e-06/0.6806, allocations: 0 / 0.5757 GB, free: 3.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001497/0.6821, allocations: 399.8 kB / 0.576 GB, free: 2.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.6821, allocations: 55.41 kB / 0.5761 GB, free: 2.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.6826, allocations: 233.8 kB / 0.5763 GB, free: 2.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.6826, allocations: 29.7 kB / 0.5763 GB, free: 2.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.6828, allocations: 262.4 kB / 0.5766 GB, free: 2.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.683, allocations: 122.2 kB / 0.5767 GB, free: 2.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.683, allocations: 12 kB / 0.5767 GB, free: 2.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6832, allocations: 326.8 kB / 0.577 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.6837, allocations: 108.8 kB / 0.5771 GB, free: 1.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.6842, allocations: 175.5 kB / 0.5773 GB, free: 1.422 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.6847, allocations: 137.5 kB / 0.5774 GB, free: 1.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6847, allocations: 0 / 0.5774 GB, free: 1.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001228/0.686, allocations: 351.5 kB / 0.5778 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.686, allocations: 4 kB / 0.5778 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.686, allocations: 4.625 kB / 0.5778 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.6861, allocations: 8 kB / 0.5778 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.687, allocations: 103.8 kB / 0.5779 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.6871, allocations: 7.984 kB / 0.5779 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.6876, allocations: 43.53 kB / 0.5779 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.6876, allocations: 19.98 kB / 0.5779 GB, free: 0.7539 MB / 394.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 () * Number of clocked 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.000271/0.6879, allocations: 157.7 kB / 0.5781 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/0.688, allocations: 31.62 kB / 0.5781 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.6892, allocations: 338.5 kB / 0.5785 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.6893, allocations: 7.938 kB / 0.5785 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6893, allocations: 3.938 kB / 0.5785 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.6893, allocations: 3.984 kB / 0.5785 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/0.6901, allocations: 409.1 kB / 0.5789 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.6901, allocations: 0 / 0.5789 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/0.691, allocations: 95.84 kB / 0.5789 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.691, allocations: 0 / 0.5789 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.691, allocations: 11.98 kB / 0.579 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.6911, allocations: 0 / 0.579 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6911, allocations: 4 kB / 0.579 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.6927, allocations: 0.5283 MB / 0.5795 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.693, allocations: 132.6 kB / 0.5796 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.693, allocations: 8 kB / 0.5796 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/0.6934, allocations: 15.98 kB / 0.5796 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.6936, allocations: 23.91 kB / 0.5797 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.6936, allocations: 11.98 kB / 0.5797 GB, free: 14.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003071/0.6939, allocations: 182 kB / 0.5798 GB, free: 14.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6939, allocations: 0 / 0.5798 GB, free: 14.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005452/0.6945, allocations: 95.91 kB / 0.5799 GB, free: 14.63 MB / 410.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 () * Number of clocked 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.002011/0.6965, allocations: 1.075 MB / 0.581 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.6976, allocations: 292 kB / 0.5813 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6976, allocations: 0 / 0.5813 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.6981, allocations: 139.8 kB / 0.5814 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.6987, allocations: 16.56 kB / 0.5814 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.7043, allocations: 3.13 MB / 0.5845 GB, free: 9.883 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.7049, allocations: 0.7952 MB / 0.5852 GB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.7052, allocations: 115.4 kB / 0.5853 GB, free: 8.949 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7052, allocations: 0 / 0.5853 GB, free: 8.949 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.539/3.244, allocations: 5.192 MB / 0.5904 GB, free: 3.773 MB / 410.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