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.001581/0.001581, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.387/1.387, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009965/0.0009964, allocations: 91.98 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4127/0.4127, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004236, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.407, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.536, allocations: 91.89 MB / 0.5994 GB, free: 3.215 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5363, allocations: 87.91 kB / 0.5995 GB, free: 3.137 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01711/0.5534, allocations: 5.783 MB / 0.6051 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5535, allocations: 0 / 0.6051 GB, free: 13.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.585e-05/0.5535, allocations: 12 kB / 0.6051 GB, free: 13.32 MB / 426.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.001404/0.5549, allocations: 0.6358 MB / 0.6057 GB, free: 12.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.555, allocations: 8.031 kB / 0.6058 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.5552, allocations: 82.52 kB / 0.6058 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.5553, allocations: 48.81 kB / 0.6059 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.5557, allocations: 270.7 kB / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.5558, allocations: 29 kB / 0.6062 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.5559, allocations: 36 kB / 0.6062 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.5566, allocations: 346.4 kB / 0.6065 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.5566, allocations: 3.906 kB / 0.6065 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.5567, allocations: 20 kB / 0.6066 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.5567, allocations: 8 kB / 0.6066 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.5574, allocations: 311.8 kB / 0.6069 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.56, allocations: 1.355 MB / 0.6082 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.5606, allocations: 285.6 kB / 0.6085 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.5607, allocations: 8.219 kB / 0.6085 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.5607, allocations: 34.84 kB / 0.6085 GB, free: 9.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.826e-06/0.5607, allocations: 4 kB / 0.6085 GB, free: 9.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009571/0.5617, allocations: 395.9 kB / 0.6089 GB, free: 9.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.5618, allocations: 59.41 kB / 0.6089 GB, free: 9.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.5621, allocations: 229.8 kB / 0.6092 GB, free: 8.953 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.5621, allocations: 33.7 kB / 0.6092 GB, free: 8.914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.5623, allocations: 200 kB / 0.6094 GB, free: 8.715 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5624, allocations: 126.2 kB / 0.6095 GB, free: 8.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.5624, allocations: 4 kB / 0.6095 GB, free: 8.586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5626, allocations: 338.8 kB / 0.6098 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.5628, allocations: 108.8 kB / 0.6099 GB, free: 8.137 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.5631, allocations: 171.5 kB / 0.6101 GB, free: 7.945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.5634, allocations: 137.5 kB / 0.6102 GB, free: 7.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5634, allocations: 0 / 0.6102 GB, free: 7.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007194/0.5642, allocations: 378.9 kB / 0.6106 GB, free: 7.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5642, allocations: 4 kB / 0.6106 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5642, allocations: 4 kB / 0.6106 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5643, allocations: 7.938 kB / 0.6106 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.5648, allocations: 104.1 kB / 0.6107 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.5648, allocations: 4 kB / 0.6107 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.5652, allocations: 47.53 kB / 0.6107 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.5652, allocations: 15.98 kB / 0.6108 GB, free: 7.254 MB / 426.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.0001974/0.5654, allocations: 150.2 kB / 0.6109 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.5655, allocations: 35.56 kB / 0.6109 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.5662, allocations: 334.1 kB / 0.6113 GB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5662, allocations: 7.984 kB / 0.6113 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5662, allocations: 0 / 0.6113 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5662, allocations: 0 / 0.6113 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.5668, allocations: 401.1 kB / 0.6116 GB, free: 6.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5668, allocations: 8 kB / 0.6117 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.5672, allocations: 79.89 kB / 0.6117 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.5673, allocations: 7.984 kB / 0.6117 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.5673, allocations: 7.953 kB / 0.6117 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5673, allocations: 4 kB / 0.6118 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5673, allocations: 0 / 0.6118 GB, free: 6.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000928/0.5683, allocations: 0.5313 MB / 0.6123 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.5684, allocations: 128.6 kB / 0.6124 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.5685, allocations: 7.984 kB / 0.6124 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.5688, allocations: 20.02 kB / 0.6124 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.5689, allocations: 23.97 kB / 0.6124 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.5689, allocations: 11.98 kB / 0.6125 GB, free: 5.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001979/0.5691, allocations: 189.9 kB / 0.6126 GB, free: 5.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5691, allocations: 0 / 0.6126 GB, free: 5.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000394/0.5695, allocations: 91.83 kB / 0.6127 GB, free: 5.145 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 () * 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.001213/0.5707, allocations: 1.07 MB / 0.6138 GB, free: 4.051 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.5713, allocations: 287.6 kB / 0.614 GB, free: 3.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5714, allocations: 0 / 0.614 GB, free: 3.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.5716, allocations: 144.8 kB / 0.6142 GB, free: 3.629 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.572, allocations: 28.5 kB / 0.6142 GB, free: 3.602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.576, allocations: 3.094 MB / 0.6172 GB, free: 436 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.5765, allocations: 0.7913 MB / 0.618 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.5767, allocations: 34.95 kB / 0.618 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.5769, allocations: 111.4 kB / 0.6181 GB, free: 15.46 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5769, allocations: 4 kB / 0.6181 GB, free: 15.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.595, allocations: 5.16 MB / 0.6232 GB, free: 10.45 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.5953, allocations: 185.7 kB / 0.6234 GB, free: 10.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.784, allocations: 0 / 0.6234 GB, free: 10.21 MB / 442.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