Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 199.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000852/0.000852, allocations: 108.4 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002351/0.0002351, allocations: 8 kB / 358 MB, free: 9.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2063, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0974/0.3037, allocations: 83.88 MB / 493.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.304, allocations: 95.94 kB / 493.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2587/0.5627, allocations: 27.65 MB / 0.5089 GB, free: 84.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5628, allocations: 0 / 0.5089 GB, free: 84.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.5628, allocations: 14.94 kB / 0.5089 GB, free: 84.5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002964/0.5658, allocations: 1.115 MB / 0.51 GB, free: 83.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5658, allocations: 8.719 kB / 0.51 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.566, allocations: 156.6 kB / 0.5102 GB, free: 83.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.5678, allocations: 255 kB / 0.5104 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.5681, allocations: 255.9 kB / 0.5107 GB, free: 83.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/0.5682, allocations: 78.73 kB / 0.5107 GB, free: 83.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.5684, allocations: 102.3 kB / 0.5108 GB, free: 83.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.5698, allocations: 0.9251 MB / 0.5117 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.5699, allocations: 7.031 kB / 0.5118 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.5699, allocations: 41 kB / 0.5118 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.57, allocations: 23.47 kB / 0.5118 GB, free: 83.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.571, allocations: 0.779 MB / 0.5126 GB, free: 83.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004712/0.5757, allocations: 3.66 MB / 0.5161 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.5775, allocations: 1.421 MB / 0.5175 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.5777, allocations: 189.6 kB / 0.5177 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5777, allocations: 43.09 kB / 0.5178 GB, free: 81.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.216e-06/0.5777, allocations: 0 / 0.5178 GB, free: 81.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001788/0.5795, allocations: 1.292 MB / 0.519 GB, free: 80.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.5795, allocations: 88.42 kB / 0.5191 GB, free: 80.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.5798, allocations: 334.9 kB / 0.5194 GB, free: 80.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.5799, allocations: 44.55 kB / 0.5195 GB, free: 80.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.58, allocations: 372.8 kB / 0.5198 GB, free: 80.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.5802, allocations: 303.7 kB / 0.5201 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.5802, allocations: 22.06 kB / 0.5201 GB, free: 79.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.5803, allocations: 360.6 kB / 0.5205 GB, free: 79.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.5807, allocations: 260.5 kB / 0.5207 GB, free: 79.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.5812, allocations: 472.2 kB / 0.5212 GB, free: 79.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.5817, allocations: 344.9 kB / 0.5215 GB, free: 79.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5817, allocations: 3.719 kB / 0.5215 GB, free: 79.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001321/0.583, allocations: 0.9621 MB / 0.5224 GB, free: 78.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.583, allocations: 10.44 kB / 0.5225 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5831, allocations: 9.344 kB / 0.5225 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.5834, allocations: 121.6 kB / 0.5226 GB, free: 78.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.5842, allocations: 204.6 kB / 0.5228 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.587, allocations: 5.594 MB / 0.5282 GB, free: 73.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/0.5876, allocations: 105.2 kB / 0.5283 GB, free: 73.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/0.5877, allocations: 41.28 kB / 0.5284 GB, free: 73.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003527/0.5881, allocations: 225 kB / 0.5286 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.5882, allocations: 60.72 kB / 0.5287 GB, free: 72.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.5895, allocations: 0.8439 MB / 0.5295 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.5895, allocations: 15.66 kB / 0.5295 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5896, allocations: 3.656 kB / 0.5295 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.5896, allocations: 3.891 kB / 0.5295 GB, free: 72.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.592, allocations: 2.201 MB / 0.5316 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.592, allocations: 3.938 kB / 0.5317 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.5926, allocations: 137 kB / 0.5318 GB, free: 70.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.5928, allocations: 110.8 kB / 0.5319 GB, free: 70.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.5929, allocations: 23.5 kB / 0.5319 GB, free: 70.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.5952, allocations: 5.33 MB / 0.5371 GB, free: 65.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5952, allocations: 7.344 kB / 0.5371 GB, free: 65.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.5966, allocations: 1.378 MB / 0.5385 GB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.5967, allocations: 142.9 kB / 0.5386 GB, free: 64.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.5968, allocations: 19.28 kB / 0.5386 GB, free: 64.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.5972, allocations: 26.59 kB / 0.5386 GB, free: 64.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.5973, allocations: 70.72 kB / 0.5387 GB, free: 64.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.5973, allocations: 24.09 kB / 0.5387 GB, free: 64.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.5975, allocations: 255.2 kB / 0.539 GB, free: 64.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5975, allocations: 0 / 0.539 GB, free: 64.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008759/0.5984, allocations: 271 kB / 0.5392 GB, free: 64.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (referenceSensor.port.reference.gamma) * 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 (78): * Single equations (assignments): 74 * 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: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001848/0.6003, allocations: 2.665 MB / 0.5418 GB, free: 62.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.6016, allocations: 1.169 MB / 0.543 GB, free: 60.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6016, allocations: 3.938 kB / 0.543 GB, free: 60.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006245/0.6022, allocations: 0.7922 MB / 0.5438 GB, free: 60.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.6026, allocations: 54.33 kB / 0.5438 GB, free: 60.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.6076, allocations: 7.319 MB / 0.551 GB, free: 52.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.608, allocations: 0.9314 MB / 0.5519 GB, free: 52.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.6085, allocations: 110.8 kB / 0.552 GB, free: 52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.6088, allocations: 253.9 kB / 0.5522 GB, free: 51.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6088, allocations: 0 / 0.5522 GB, free: 51.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.6311, allocations: 12.02 MB / 0.564 GB, free: 42.26 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.6313, allocations: 237.3 kB / 0.5642 GB, free: 42.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/2.857, allocations: 0 / 0.5642 GB, free: 42.01 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat does not exist to compare? outputFormat=mat