Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 84.11 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.114e-05, allocations: 8.203 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5502, allocations: 91.82 MB / 0.5915 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5505, allocations: 79.95 kB / 0.5915 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.5668, allocations: 5.787 MB / 0.5972 GB, free: 7.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5668, allocations: 0 / 0.5972 GB, free: 7.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.608e-05/0.5669, allocations: 11.98 kB / 0.5972 GB, free: 7.535 MB / 410.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.001302/0.5682, allocations: 0.608 MB / 0.5978 GB, free: 6.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.5683, allocations: 8.031 kB / 0.5978 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.5684, allocations: 74.53 kB / 0.5979 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.5686, allocations: 48.81 kB / 0.5979 GB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.569, allocations: 282.2 kB / 0.5982 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.5691, allocations: 28.78 kB / 0.5982 GB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.5692, allocations: 36 kB / 0.5983 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.5698, allocations: 311.7 kB / 0.5986 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5698, allocations: 4 kB / 0.5986 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.5698, allocations: 16 kB / 0.5986 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.5698, allocations: 12 kB / 0.5986 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.5704, allocations: 275 kB / 0.5988 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.5728, allocations: 1.344 MB / 0.6002 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.5733, allocations: 258.1 kB / 0.6004 GB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.5735, allocations: 149.4 kB / 0.6005 GB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.5736, allocations: 8.266 kB / 0.6006 GB, free: 3.902 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5736, allocations: 38.84 kB / 0.6006 GB, free: 3.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.546e-06/0.5736, allocations: 0 / 0.6006 GB, free: 3.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005543/0.5742, allocations: 259.4 kB / 0.6008 GB, free: 3.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5742, allocations: 59.34 kB / 0.6009 GB, free: 3.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.5745, allocations: 231.2 kB / 0.6011 GB, free: 3.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.5746, allocations: 33.7 kB / 0.6012 GB, free: 3.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.5747, allocations: 207.9 kB / 0.6013 GB, free: 3.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.5748, allocations: 118.3 kB / 0.6015 GB, free: 2.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.5748, allocations: 4 kB / 0.6015 GB, free: 2.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.575, allocations: 342.8 kB / 0.6018 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.5751, allocations: 84.88 kB / 0.6019 GB, free: 2.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.5754, allocations: 159.5 kB / 0.602 GB, free: 2.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.5756, allocations: 105.5 kB / 0.6021 GB, free: 2.215 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5756, allocations: 3.938 kB / 0.6021 GB, free: 2.211 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005626/0.5762, allocations: 338.9 kB / 0.6025 GB, free: 1.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5762, allocations: 8 kB / 0.6025 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5762, allocations: 0 / 0.6025 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5762, allocations: 4 kB / 0.6025 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.5768, allocations: 111.8 kB / 0.6026 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.5768, allocations: 4 kB / 0.6026 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.5771, allocations: 47.83 kB / 0.6026 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.5771, allocations: 12 kB / 0.6026 GB, free: 1.691 MB / 410.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.0001053/0.5773, allocations: 120.9 kB / 0.6027 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.5773, allocations: 39.56 kB / 0.6028 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.5779, allocations: 300.3 kB / 0.6031 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5779, allocations: 4 kB / 0.6031 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5779, allocations: 0 / 0.6031 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5779, allocations: 4 kB / 0.6031 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.5784, allocations: 405.1 kB / 0.6035 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5784, allocations: 0 / 0.6035 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.5789, allocations: 83.88 kB / 0.6035 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.5789, allocations: 7.953 kB / 0.6036 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.5789, allocations: 12 kB / 0.6036 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5789, allocations: 0 / 0.6036 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.579, allocations: 4 kB / 0.6036 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.5796, allocations: 478.9 kB / 0.604 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.5798, allocations: 132.6 kB / 0.6042 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.5798, allocations: 7.953 kB / 0.6042 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.5801, allocations: 15.98 kB / 0.6042 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/0.5802, allocations: 23.97 kB / 0.6042 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.5802, allocations: 4 kB / 0.6042 GB, free: 15.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.5804, allocations: 195 kB / 0.6044 GB, free: 15.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5804, allocations: 4.062 kB / 0.6044 GB, free: 15.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.5808, allocations: 91.84 kB / 0.6045 GB, free: 15.7 MB / 426.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.0009941/0.5818, allocations: 1.009 MB / 0.6055 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004546/0.5823, allocations: 244.1 kB / 0.6057 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5823, allocations: 4.062 kB / 0.6057 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.5825, allocations: 127.9 kB / 0.6058 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.5828, allocations: 26 kB / 0.6058 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.5843, allocations: 0.6134 MB / 0.6064 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.5847, allocations: 0.799 MB / 0.6072 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.5849, allocations: 34.95 kB / 0.6073 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.5851, allocations: 115.4 kB / 0.6074 GB, free: 12.65 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5851, allocations: 0 / 0.6074 GB, free: 12.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.6038, allocations: 5.17 MB / 0.6124 GB, free: 7.613 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.6041, allocations: 152 kB / 0.6126 GB, free: 7.391 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.795, allocations: 0 / 0.6126 GB, free: 7.391 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat