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.001664/0.001664, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.784/1.784, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008509/0.0008508, allocations: 86.64 kB / 261.8 MB, free: 1.684 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.2345/0.2345, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.912e-05, allocations: 0 / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 58.87 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5685, allocations: 89.26 MB / 0.5532 GB, free: 5.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.5688, allocations: 71.25 kB / 0.5533 GB, free: 5.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.5823, allocations: 5.566 MB / 0.5587 GB, free: 1.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5824, allocations: 0 / 0.5587 GB, free: 1.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.5824, allocations: 8 kB / 0.5587 GB, free: 1.09 MB / 362.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.0008571/0.5833, allocations: 0.5953 MB / 0.5593 GB, free: 484 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5833, allocations: 8.031 kB / 0.5593 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.5834, allocations: 51.83 kB / 0.5593 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.5837, allocations: 275.2 kB / 0.5596 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.5837, allocations: 12 kB / 0.5596 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.5838, allocations: 24 kB / 0.5596 GB, free: 96 kB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004285/0.5842, allocations: 243.5 kB / 0.5599 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.5847, allocations: 267.8 kB / 0.5601 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.5847, allocations: 4 kB / 0.5601 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.5847, allocations: 0 / 0.5601 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5847, allocations: 12 kB / 0.5601 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.5868, allocations: 1.263 MB / 0.5614 GB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.5872, allocations: 241.7 kB / 0.5616 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.5874, allocations: 138.3 kB / 0.5617 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.5874, allocations: 4.281 kB / 0.5617 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5874, allocations: 34.72 kB / 0.5618 GB, free: 14.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.5875, allocations: 4 kB / 0.5618 GB, free: 14.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004282/0.5879, allocations: 228.6 kB / 0.562 GB, free: 14.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.5879, allocations: 59.09 kB / 0.5621 GB, free: 14.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.5882, allocations: 192.2 kB / 0.5622 GB, free: 13.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.5882, allocations: 33.02 kB / 0.5623 GB, free: 13.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5884, allocations: 211.2 kB / 0.5625 GB, free: 13.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.606e-05/0.5885, allocations: 119.5 kB / 0.5626 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.5885, allocations: 0 / 0.5626 GB, free: 13.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5886, allocations: 344.6 kB / 0.5629 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5888, allocations: 79.44 kB / 0.563 GB, free: 13.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.589, allocations: 143.5 kB / 0.5631 GB, free: 13.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.5892, allocations: 107.9 kB / 0.5632 GB, free: 13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5892, allocations: 0 / 0.5632 GB, free: 13 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004651/0.5896, allocations: 288.9 kB / 0.5635 GB, free: 12.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.5897, allocations: 11.88 kB / 0.5635 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5897, allocations: 4 kB / 0.5635 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.5897, allocations: 4.219 kB / 0.5635 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.5902, allocations: 107 kB / 0.5636 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.5902, allocations: 4 kB / 0.5636 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.5905, allocations: 31.67 kB / 0.5637 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.5905, allocations: 15.31 kB / 0.5637 GB, free: 12.61 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.000124/0.5907, allocations: 108.9 kB / 0.5638 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003692/0.591, allocations: 248.3 kB / 0.564 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.5911, allocations: 31.7 kB / 0.564 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.5916, allocations: 264.9 kB / 0.5643 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5916, allocations: 4 kB / 0.5643 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5916, allocations: 0 / 0.5643 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5916, allocations: 0 / 0.5643 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.5922, allocations: 351.9 kB / 0.5646 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5922, allocations: 0 / 0.5646 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.5926, allocations: 91.69 kB / 0.5647 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5927, allocations: 4 kB / 0.5647 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.5927, allocations: 4 kB / 0.5647 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.5927, allocations: 0 / 0.5647 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5927, allocations: 3.938 kB / 0.5647 GB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.5934, allocations: 452.2 kB / 0.5652 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.5935, allocations: 132.3 kB / 0.5653 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.5936, allocations: 4 kB / 0.5653 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.5938, allocations: 8.062 kB / 0.5653 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/0.5939, allocations: 23.95 kB / 0.5653 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.5939, allocations: 7.938 kB / 0.5653 GB, free: 11.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.5941, allocations: 151.8 kB / 0.5655 GB, free: 11.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5941, allocations: 0 / 0.5655 GB, free: 11.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.5945, allocations: 87.69 kB / 0.5656 GB, free: 10.92 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.0009414/0.5954, allocations: 0.9871 MB / 0.5665 GB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003874/0.5958, allocations: 227.9 kB / 0.5667 GB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5958, allocations: 0 / 0.5667 GB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.596, allocations: 118.2 kB / 0.5669 GB, free: 9.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.5963, allocations: 13.03 kB / 0.5669 GB, free: 9.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.5976, allocations: 0.5768 MB / 0.5674 GB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.598, allocations: 0.7954 MB / 0.5682 GB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.5983, allocations: 31.27 kB / 0.5682 GB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.5984, allocations: 115.6 kB / 0.5684 GB, free: 8.316 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5984, allocations: 0 / 0.5684 GB, free: 8.316 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.6236, allocations: 4.481 MB / 0.5727 GB, free: 3.848 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.6238, allocations: 121.5 kB / 0.5728 GB, free: 3.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.567, allocations: 0 / 0.5728 GB, free: 3.66 MB / 378.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