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.001356/0.001356, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.747/1.747, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009574/0.0009575, allocations: 91.94 kB / 292.1 MB, free: 6.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.062e-05, allocations: 4 kB / 350.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 51.48 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.4959, allocations: 83.82 MB / 486 MB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.4963, allocations: 94.03 kB / 486 MB, free: 5.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08155/0.5778, allocations: 27.58 MB / 0.5016 GB, free: 11.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5779, allocations: 0 / 0.5016 GB, free: 11.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.29e-05/0.5779, allocations: 16 kB / 0.5016 GB, free: 11.38 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.004171/0.5821, allocations: 1.095 MB / 0.5027 GB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.5821, allocations: 8.031 kB / 0.5027 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/0.5824, allocations: 152.2 kB / 0.5028 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.5851, allocations: 255.7 kB / 0.5031 GB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.5854, allocations: 246.9 kB / 0.5033 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.5855, allocations: 74 kB / 0.5034 GB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.5858, allocations: 103.5 kB / 0.5035 GB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.588, allocations: 0.9111 MB / 0.5044 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.663e-05/0.5881, allocations: 12 kB / 0.5044 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.5882, allocations: 40 kB / 0.5044 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.5883, allocations: 24 kB / 0.5044 GB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.5903, allocations: 0.7498 MB / 0.5052 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007572/0.5979, allocations: 3.663 MB / 0.5087 GB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.6008, allocations: 1.408 MB / 0.5101 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008444/0.6016, allocations: 367 kB / 0.5105 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.6019, allocations: 183 kB / 0.5106 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.602, allocations: 43.34 kB / 0.5107 GB, free: 1.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 6.022e-06/0.602, allocations: 3.938 kB / 0.5107 GB, free: 1.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001881/0.6039, allocations: 0.6824 MB / 0.5114 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.604, allocations: 85.89 kB / 0.5114 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.6046, allocations: 326.8 kB / 0.5118 GB, free: 452 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.6046, allocations: 37.7 kB / 0.5118 GB, free: 408 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.605, allocations: 386.7 kB / 0.5122 GB, free: 12 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.6053, allocations: 292.6 kB / 0.5124 GB, free: 15.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.6054, allocations: 24 kB / 0.5125 GB, free: 15.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6056, allocations: 358.8 kB / 0.5128 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.6063, allocations: 262.6 kB / 0.513 GB, free: 15.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008737/0.6072, allocations: 452.3 kB / 0.5135 GB, free: 14.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.6081, allocations: 336.8 kB / 0.5138 GB, free: 14.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.6081, allocations: 0 / 0.5138 GB, free: 14.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002426/0.6105, allocations: 0.9508 MB / 0.5147 GB, free: 13.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.6106, allocations: 11.95 kB / 0.5147 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.6106, allocations: 12.06 kB / 0.5148 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.6112, allocations: 115.4 kB / 0.5149 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.6124, allocations: 207.7 kB / 0.5151 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/0.618, allocations: 5.559 MB / 0.5205 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6191, allocations: 98.91 kB / 0.5206 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.6193, allocations: 43.98 kB / 0.5206 GB, free: 6.68 MB / 394.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 () * 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.0002798/0.6196, allocations: 158.2 kB / 0.5208 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.6198, allocations: 51.34 kB / 0.5208 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.6221, allocations: 0.8352 MB / 0.5216 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6221, allocations: 11.98 kB / 0.5217 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.6221, allocations: 4 kB / 0.5217 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.6222, allocations: 3.984 kB / 0.5217 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/0.6284, allocations: 3.297 MB / 0.5249 GB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.6285, allocations: 8 kB / 0.5249 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/0.6293, allocations: 135.8 kB / 0.525 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.6297, allocations: 118.3 kB / 0.5251 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/0.6298, allocations: 28 kB / 0.5252 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005019/0.6349, allocations: 5.303 MB / 0.5303 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.336e-05/0.6349, allocations: 8 kB / 0.5303 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.6382, allocations: 1.742 MB / 0.532 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.6385, allocations: 164.2 kB / 0.5322 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.6386, allocations: 23.98 kB / 0.5322 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007429/0.6394, allocations: 35.91 kB / 0.5323 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.6396, allocations: 84.2 kB / 0.5323 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.6397, allocations: 32 kB / 0.5324 GB, free: 9.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004786/0.6402, allocations: 278.1 kB / 0.5326 GB, free: 9.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6402, allocations: 0 / 0.5326 GB, free: 9.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001658/0.6418, allocations: 263.5 kB / 0.5329 GB, free: 8.797 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.004674/0.6465, allocations: 4.566 MB / 0.5373 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.6489, allocations: 1.138 MB / 0.5385 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.649, allocations: 0 / 0.5385 GB, free: 2.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.6502, allocations: 0.7765 MB / 0.5392 GB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.6509, allocations: 59.95 kB / 0.5393 GB, free: 1.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.6549, allocations: 1.304 MB / 0.5405 GB, free: 472 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.6557, allocations: 0.928 MB / 0.5415 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008945/0.6566, allocations: 109.2 kB / 0.5416 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/0.6571, allocations: 263.3 kB / 0.5418 GB, free: 15.14 MB / 426.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6571, allocations: 0 / 0.5418 GB, free: 15.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.6976, allocations: 12.78 MB / 0.5543 GB, free: 2.684 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.6979, allocations: 195.2 kB / 0.5545 GB, free: 2.465 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.17, allocations: 0 / 0.5545 GB, free: 2.465 MB / 426.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