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.001984/0.001983, 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 1.993/1.993, 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.00116/0.00116, allocations: 95.78 kB / 262.1 MB, free: 13.87 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.3076/0.3076, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.337e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4016, allocations: 58.86 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.6122, allocations: 89.26 MB / 0.5532 GB, free: 9.988 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/0.6126, allocations: 67.97 kB / 0.5532 GB, free: 9.922 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02775/0.6404, allocations: 5.561 MB / 0.5587 GB, free: 4.34 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6405, allocations: 4 kB / 0.5587 GB, free: 4.336 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.27e-05/0.6405, allocations: 4 kB / 0.5587 GB, free: 4.332 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001643/0.6422, allocations: 0.6045 MB / 0.5593 GB, free: 3.684 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.6423, allocations: 12.03 kB / 0.5593 GB, free: 3.672 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.6424, allocations: 43.83 kB / 0.5593 GB, free: 3.629 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/0.643, allocations: 275.1 kB / 0.5596 GB, free: 3.32 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.643, allocations: 20 kB / 0.5596 GB, free: 3.301 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/0.6431, allocations: 20 kB / 0.5596 GB, free: 3.281 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008034/0.6439, allocations: 249.5 kB / 0.5599 GB, free: 3.035 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.6448, allocations: 262.2 kB / 0.5601 GB, free: 2.773 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.6448, allocations: 3.938 kB / 0.5601 GB, free: 2.77 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.6449, allocations: 0 / 0.5601 GB, free: 2.77 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.6449, allocations: 8 kB / 0.5601 GB, free: 2.762 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.6485, allocations: 1.273 MB / 0.5614 GB, free: 1.402 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.6492, allocations: 240.1 kB / 0.5616 GB, free: 1.156 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.6496, allocations: 133.4 kB / 0.5617 GB, free: 1.023 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.6497, allocations: 4.281 kB / 0.5617 GB, free: 1.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.6497, allocations: 38.84 kB / 0.5618 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of pre-optimization done (n=34): time 3.326e-06/0.6497, allocations: 0 / 0.5618 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007575/0.6505, allocations: 239.8 kB / 0.562 GB, free: 0.7344 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.6505, allocations: 51.41 kB / 0.562 GB, free: 0.6719 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.6509, allocations: 192.5 kB / 0.5622 GB, free: 484 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.6509, allocations: 25.7 kB / 0.5622 GB, free: 452 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.6511, allocations: 270.5 kB / 0.5625 GB, free: 180 kB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.6513, allocations: 118.2 kB / 0.5626 GB, free: 60 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.6513, allocations: 3.938 kB / 0.5626 GB, free: 56 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.6515, allocations: 330.8 kB / 0.5629 GB, free: 15.72 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.6518, allocations: 76.88 kB / 0.563 GB, free: 15.65 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.6521, allocations: 150.7 kB / 0.5632 GB, free: 15.48 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.6524, allocations: 109.5 kB / 0.5633 GB, free: 15.37 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.6524, allocations: 0 / 0.5633 GB, free: 15.37 MB / 411.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008526/0.6533, allocations: 279.3 kB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6534, allocations: 4 kB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6534, allocations: 4 kB / 0.5635 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.6534, allocations: 4 kB / 0.5635 GB, free: 15.08 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/0.6544, allocations: 108.1 kB / 0.5636 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.6544, allocations: 4 kB / 0.5636 GB, free: 14.97 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.6549, allocations: 39.52 kB / 0.5637 GB, free: 14.93 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.6549, allocations: 19.94 kB / 0.5637 GB, free: 14.91 MB / 411.1 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.000134/0.6551, allocations: 112.9 kB / 0.5638 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006356/0.6557, allocations: 229.5 kB / 0.564 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.6558, allocations: 23.72 kB / 0.564 GB, free: 14.54 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.6566, allocations: 284.5 kB / 0.5643 GB, free: 14.26 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.6566, allocations: 4 kB / 0.5643 GB, free: 14.25 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6567, allocations: 0 / 0.5643 GB, free: 14.25 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6567, allocations: 4 kB / 0.5643 GB, free: 14.25 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.6573, allocations: 341.8 kB / 0.5647 GB, free: 13.88 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6574, allocations: 0 / 0.5647 GB, free: 13.88 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/0.6582, allocations: 83.88 kB / 0.5647 GB, free: 13.8 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6582, allocations: 0 / 0.5647 GB, free: 13.8 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.6583, allocations: 8 kB / 0.5647 GB, free: 13.79 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6583, allocations: 4 kB / 0.5647 GB, free: 13.79 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6583, allocations: 0 / 0.5647 GB, free: 13.79 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.6593, allocations: 454.8 kB / 0.5652 GB, free: 13.32 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.6596, allocations: 132.7 kB / 0.5653 GB, free: 13.18 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.6596, allocations: 0 / 0.5653 GB, free: 13.18 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.66, allocations: 11.98 kB / 0.5653 GB, free: 13.16 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.6601, allocations: 24.03 kB / 0.5653 GB, free: 13.14 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.6602, allocations: 8 kB / 0.5653 GB, free: 13.13 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.6604, allocations: 152.5 kB / 0.5655 GB, free: 12.98 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6604, allocations: 0 / 0.5655 GB, free: 12.98 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005837/0.661, allocations: 87.69 kB / 0.5656 GB, free: 12.89 MB / 411.1 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.001343/0.6624, allocations: 0.9856 MB / 0.5665 GB, free: 11.88 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.6631, allocations: 231.6 kB / 0.5668 GB, free: 11.66 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6631, allocations: 0 / 0.5668 GB, free: 11.66 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.6635, allocations: 119.9 kB / 0.5669 GB, free: 11.54 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.6638, allocations: 12.42 kB / 0.5669 GB, free: 11.53 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.6661, allocations: 0.5996 MB / 0.5675 GB, free: 10.89 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.6666, allocations: 0.7955 MB / 0.5682 GB, free: 10.07 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.667, allocations: 111.4 kB / 0.5684 GB, free: 9.957 MB / 411.1 MB Notification: Performance of SimCode: time 1.192e-06/0.667, allocations: 0 / 0.5684 GB, free: 9.957 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.454/3.121, allocations: 5.074 MB / 0.5733 GB, free: 4.891 MB / 411.1 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