Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",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.002296/0.002296, allocations: 176.8 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.38/1.38, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009/0.0008999, allocations: 93.59 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.3367/0.3367, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004885, allocations: 16 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3863, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5263, allocations: 89.61 MB / 0.5971 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/0.5267, allocations: 87.91 kB / 0.5972 GB, free: 5.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01287/0.5396, allocations: 4.409 MB / 0.6015 GB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.5397, allocations: 0 / 0.6015 GB, free: 1.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.5397, allocations: 4 kB / 0.6015 GB, free: 1.004 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001154/0.5409, allocations: 0.5303 MB / 0.6021 GB, free: 436 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/0.541, allocations: 12.03 kB / 0.6021 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.5412, allocations: 66.53 kB / 0.6021 GB, free: 348 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.5413, allocations: 31.62 kB / 0.6022 GB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5416, allocations: 198.8 kB / 0.6024 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.5418, allocations: 24.66 kB / 0.6024 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.5419, allocations: 35.95 kB / 0.6024 GB, free: 16 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.5426, allocations: 274 kB / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5426, allocations: 0 / 0.6027 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.5427, allocations: 27.92 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.5427, allocations: 4 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.5432, allocations: 218.5 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.5455, allocations: 1.025 MB / 0.6039 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.5456, allocations: 42.47 kB / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.5456, allocations: 0 / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.5457, allocations: 38.62 kB / 0.604 GB, free: 14.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.5457, allocations: 0 / 0.604 GB, free: 14.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002532/0.5459, allocations: 69.52 kB / 0.6041 GB, free: 14.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.546, allocations: 55.34 kB / 0.6041 GB, free: 14.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.5464, allocations: 294.1 kB / 0.6044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.5465, allocations: 29.7 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.5467, allocations: 226.8 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.5467, allocations: 7.906 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.5467, allocations: 4 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5469, allocations: 330.8 kB / 0.605 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5471, allocations: 67.97 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.5473, allocations: 95.92 kB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.5475, allocations: 72.5 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5475, allocations: 0 / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004403/0.5479, allocations: 241.2 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.548, allocations: 4 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.548, allocations: 0 / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.548, allocations: 4 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.5483, allocations: 63.92 kB / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5483, allocations: 0 / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.5486, allocations: 39.53 kB / 0.6055 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.5486, allocations: 8 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0001835/0.5488, allocations: 138.3 kB / 0.6057 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.5489, allocations: 23.67 kB / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.5489, allocations: 16.91 kB / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.549, allocations: 7.984 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.549, allocations: 4 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.549, allocations: 3.938 kB / 0.6057 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.5496, allocations: 0.5033 MB / 0.6062 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5497, allocations: 4 kB / 0.6062 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.5497, allocations: 0 / 0.6062 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5497, allocations: 4 kB / 0.6062 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.5497, allocations: 0 / 0.6062 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5497, allocations: 4.062 kB / 0.6062 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5497, allocations: 0 / 0.6062 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.5499, allocations: 111.4 kB / 0.6063 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.55, allocations: 104.8 kB / 0.6064 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.55, allocations: 0 / 0.6064 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5502, allocations: 8.031 kB / 0.6064 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.5502, allocations: 7.922 kB / 0.6064 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.5502, allocations: 4 kB / 0.6064 GB, free: 11.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002749/0.5505, allocations: 218 kB / 0.6067 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5505, allocations: 0 / 0.6067 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003046/0.5508, allocations: 67.78 kB / 0.6067 GB, free: 11.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0005399/0.5513, allocations: 0.7108 MB / 0.6074 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.5516, allocations: 119.9 kB / 0.6075 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5516, allocations: 0 / 0.6075 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.5517, allocations: 11.94 kB / 0.6075 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.5519, allocations: 22.48 kB / 0.6076 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.5542, allocations: 1.371 MB / 0.6089 GB, free: 9.016 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.5546, allocations: 0.7482 MB / 0.6096 GB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.5547, allocations: 33.86 kB / 0.6097 GB, free: 8.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5548, allocations: 75.34 kB / 0.6097 GB, free: 8.141 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5548, allocations: 0 / 0.6097 GB, free: 8.141 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.5711, allocations: 3.724 MB / 0.6134 GB, free: 4.562 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.5714, allocations: 184.7 kB / 0.6135 GB, free: 4.316 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.334, allocations: 3.25 kB / 0.6135 GB, free: 4.316 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat