Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",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.001343/0.001343, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008703/0.0008703, allocations: 102.1 kB / 281.6 MB, free: 5.328 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.1964/0.1964, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.693e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.53, allocations: 89.46 MB / 0.5821 GB, free: 6.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5303, allocations: 72.55 kB / 0.5822 GB, free: 6.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.5485, allocations: 6.722 MB / 0.5888 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5485, allocations: 0 / 0.5888 GB, free: 104 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.5486, allocations: 4 kB / 0.5888 GB, free: 100 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008642/0.5494, allocations: 0.5303 MB / 0.5893 GB, free: 15.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5495, allocations: 15.98 kB / 0.5893 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.5496, allocations: 31.62 kB / 0.5893 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.55, allocations: 279 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5501, allocations: 11.98 kB / 0.5896 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.5501, allocations: 12 kB / 0.5896 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004009/0.5505, allocations: 193 kB / 0.5898 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.5508, allocations: 187.8 kB / 0.59 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.5509, allocations: 0 / 0.59 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.5509, allocations: 0 / 0.59 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5509, allocations: 8 kB / 0.59 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.5522, allocations: 0.8359 MB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.5529, allocations: 301.2 kB / 0.5911 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.5531, allocations: 120.8 kB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.5531, allocations: 8 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.5531, allocations: 42.5 kB / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.5532, allocations: 0 / 0.5913 GB, free: 13.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001739/0.5549, allocations: 472.8 kB / 0.5917 GB, free: 12.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.5549, allocations: 59.39 kB / 0.5918 GB, free: 12.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.5551, allocations: 176 kB / 0.5919 GB, free: 12.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5552, allocations: 29.7 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.5553, allocations: 164.8 kB / 0.5921 GB, free: 12.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.5553, allocations: 98.5 kB / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.5554, allocations: 3.938 kB / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5555, allocations: 334.8 kB / 0.5925 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.5556, allocations: 75.86 kB / 0.5926 GB, free: 11.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.5558, allocations: 105.8 kB / 0.5927 GB, free: 11.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.556, allocations: 81.38 kB / 0.5928 GB, free: 11.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.556, allocations: 4 kB / 0.5928 GB, free: 11.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001603/0.5576, allocations: 494.4 kB / 0.5933 GB, free: 11.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5576, allocations: 13.41 kB / 0.5933 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5576, allocations: 0 / 0.5933 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.5592, allocations: 303.2 kB / 0.5936 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.5594, allocations: 31.91 kB / 0.5936 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/0.5658, allocations: 6.098 MB / 0.5996 GB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.566, allocations: 28.23 kB / 0.5996 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.5661, allocations: 8 kB / 0.5996 GB, free: 4.293 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.5663, allocations: 126.6 kB / 0.5997 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00155/0.5678, allocations: 480.6 kB / 0.6002 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.5679, allocations: 23.62 kB / 0.6002 GB, free: 3.652 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.5695, allocations: 499.9 kB / 0.6007 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5695, allocations: 7.891 kB / 0.6007 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5695, allocations: 8 kB / 0.6007 GB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5695, allocations: 3.984 kB / 0.6007 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.5699, allocations: 305.9 kB / 0.601 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5699, allocations: 0 / 0.601 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.5701, allocations: 23.92 kB / 0.601 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.5715, allocations: 303.2 kB / 0.6013 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5715, allocations: 0 / 0.6013 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006033/0.5775, allocations: 6.049 MB / 0.6072 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5776, allocations: 320 / 0.6072 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5791, allocations: 0.5729 MB / 0.6078 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.5792, allocations: 96.77 kB / 0.6078 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.5792, allocations: 8 kB / 0.6079 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.5794, allocations: 7.984 kB / 0.6079 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5796, allocations: 39.89 kB / 0.6079 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5796, allocations: 8 kB / 0.6079 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.5797, allocations: 148.5 kB / 0.608 GB, free: 11.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5797, allocations: 4 kB / 0.6081 GB, free: 11.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005264/0.5803, allocations: 103.8 kB / 0.6082 GB, free: 10.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001873/0.5821, allocations: 1.102 MB / 0.6092 GB, free: 9.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.5832, allocations: 0.6784 MB / 0.6099 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5832, allocations: 0 / 0.6099 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.584, allocations: 0.6203 MB / 0.6105 GB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.5843, allocations: 18.97 kB / 0.6105 GB, free: 8.383 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000876/0.5852, allocations: 372.6 kB / 0.6109 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.5855, allocations: 0.7833 MB / 0.6116 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.5856, allocations: 10.09 kB / 0.6116 GB, free: 7.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5857, allocations: 79.41 kB / 0.6117 GB, free: 7.082 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5857, allocations: 3.938 kB / 0.6117 GB, free: 7.078 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.6152, allocations: 9.419 MB / 0.6209 GB, free: 13.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/0.6155, allocations: 142.9 kB / 0.6211 GB, free: 13.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.803, allocations: 0 / 0.6211 GB, free: 13.51 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat