Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_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.001799/0.001799, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008558/0.0008561, allocations: 98.83 kB / 270.2 MB, free: 13.36 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.2542/0.2542, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 58.85 MB / 490.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.426/0.554, allocations: 90.02 MB / 0.5668 GB, free: 9.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/0.5545, allocations: 70.16 kB / 0.5668 GB, free: 9.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.5704, allocations: 5.607 MB / 0.5723 GB, free: 4.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.472e-06/0.5704, allocations: 4 kB / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.5705, allocations: 11.94 kB / 0.5723 GB, free: 4.812 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.001252/0.5717, allocations: 0.6366 MB / 0.5729 GB, free: 4.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.5718, allocations: 15.95 kB / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.158e-05/0.5719, allocations: 74.09 kB / 0.573 GB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.572, allocations: 47.83 kB / 0.5731 GB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.5723, allocations: 279.1 kB / 0.5733 GB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.5724, allocations: 26.81 kB / 0.5734 GB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.5724, allocations: 40.17 kB / 0.5734 GB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006332/0.5731, allocations: 337.2 kB / 0.5737 GB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5731, allocations: 0 / 0.5737 GB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.5732, allocations: 18.94 kB / 0.5737 GB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.5732, allocations: 11.94 kB / 0.5738 GB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.5738, allocations: 318.1 kB / 0.5741 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.5761, allocations: 1.344 MB / 0.5754 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.5766, allocations: 299 kB / 0.5757 GB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.5766, allocations: 8.266 kB / 0.5757 GB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5766, allocations: 34.41 kB / 0.5757 GB, free: 1.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.5766, allocations: 0 / 0.5757 GB, free: 1.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008271/0.5775, allocations: 397.5 kB / 0.5761 GB, free: 1.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.5775, allocations: 55.41 kB / 0.5761 GB, free: 1.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.5778, allocations: 235 kB / 0.5764 GB, free: 1.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.5778, allocations: 33.64 kB / 0.5764 GB, free: 1.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.5779, allocations: 198.4 kB / 0.5766 GB, free: 1.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.578, allocations: 125.2 kB / 0.5767 GB, free: 0.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.5781, allocations: 7.438 kB / 0.5767 GB, free: 0.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.5782, allocations: 342.3 kB / 0.577 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.5785, allocations: 107 kB / 0.5771 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.5787, allocations: 173.9 kB / 0.5773 GB, free: 364 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.579, allocations: 138.5 kB / 0.5774 GB, free: 276 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.579, allocations: 0 / 0.5774 GB, free: 276 kB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006414/0.5797, allocations: 366 kB / 0.5778 GB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5797, allocations: 4 kB / 0.5778 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5797, allocations: 4 kB / 0.5778 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.5797, allocations: 4 kB / 0.5778 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.5802, allocations: 107.7 kB / 0.5779 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5803, allocations: 4 kB / 0.5779 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.5805, allocations: 59.23 kB / 0.5779 GB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.5806, allocations: 11.56 kB / 0.578 GB, free: 15.82 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.000163/0.5807, allocations: 156.7 kB / 0.5781 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.5808, allocations: 31.62 kB / 0.5781 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/0.5815, allocations: 339.4 kB / 0.5785 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5815, allocations: 4 kB / 0.5785 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5815, allocations: 0 / 0.5785 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.5815, allocations: 0 / 0.5785 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.5819, allocations: 417.7 kB / 0.5789 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5819, allocations: 0 / 0.5789 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.5824, allocations: 87.69 kB / 0.5789 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5824, allocations: 4 kB / 0.579 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.5824, allocations: 3.938 kB / 0.579 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.5824, allocations: 4 kB / 0.579 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5824, allocations: 0 / 0.579 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008134/0.5832, allocations: 0.5281 MB / 0.5795 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5834, allocations: 132.2 kB / 0.5796 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.5834, allocations: 7.938 kB / 0.5796 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5837, allocations: 15.86 kB / 0.5796 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.5837, allocations: 23.91 kB / 0.5796 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.5838, allocations: 11.88 kB / 0.5797 GB, free: 14.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.5839, allocations: 188.3 kB / 0.5798 GB, free: 14.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5839, allocations: 0 / 0.5798 GB, free: 14.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003441/0.5843, allocations: 91.59 kB / 0.5799 GB, free: 14.1 MB / 394.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.001091/0.5854, allocations: 1.074 MB / 0.581 GB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005421/0.5859, allocations: 288.1 kB / 0.5812 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5859, allocations: 4 kB / 0.5813 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.5862, allocations: 139.7 kB / 0.5814 GB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.5865, allocations: 26.98 kB / 0.5814 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.5897, allocations: 3.093 MB / 0.5844 GB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.5901, allocations: 0.7952 MB / 0.5852 GB, free: 9.094 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.5903, allocations: 38.94 kB / 0.5852 GB, free: 9.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.5904, allocations: 107.9 kB / 0.5853 GB, free: 9.02 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5905, allocations: 0 / 0.5853 GB, free: 9.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.6079, allocations: 5.14 MB / 0.5904 GB, free: 3.918 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/0.6082, allocations: 175.2 kB / 0.5905 GB, free: 3.668 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.645, allocations: 0 / 0.5905 GB, free: 3.668 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat