Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001762/0.001762, allocations: 177.1 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008892/0.0008892, allocations: 82.69 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.864e-05, allocations: 0 / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 47.59 MB / 363.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.4821, allocations: 81.57 MB / 444.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4825, allocations: 86.88 kB / 444.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0597/0.5422, allocations: 25.75 MB / 470.6 MB, free: 9.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5423, allocations: 0 / 470.6 MB, free: 9.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.5423, allocations: 16 kB / 470.6 MB, free: 9.367 MB / 346.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.002911/0.5452, allocations: 1.089 MB / 471.7 MB, free: 8.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5453, allocations: 8.031 kB / 471.7 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.5469, allocations: 257.8 kB / 472 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.5472, allocations: 253.2 kB / 472.2 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.5472, allocations: 43.89 kB / 472.2 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5474, allocations: 63.89 kB / 472.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00122/0.5486, allocations: 0.7039 MB / 473 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.55, allocations: 0.7696 MB / 473.8 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.55, allocations: 4 kB / 473.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.5501, allocations: 0 / 473.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.5501, allocations: 24 kB / 473.8 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/0.5552, allocations: 3.252 MB / 477.1 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.5571, allocations: 1.36 MB / 478.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.5576, allocations: 332.7 kB / 478.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.5578, allocations: 97.86 kB / 478.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.5578, allocations: 43.41 kB / 478.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.988e-06/0.5578, allocations: 0 / 478.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=87): time 0.001919/0.5598, allocations: 0.7956 MB / 479.7 MB, free: 340 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.5598, allocations: 85.89 kB / 479.8 MB, free: 236 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.5602, allocations: 286 kB / 480 MB, free: 15.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.5602, allocations: 25.7 kB / 480.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.5605, allocations: 382.7 kB / 480.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.5607, allocations: 295.7 kB / 480.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.5607, allocations: 0 / 480.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5609, allocations: 362.7 kB / 481.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.5613, allocations: 226.6 kB / 481.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.5618, allocations: 425.2 kB / 481.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5629, allocations: 0.4902 MB / 482.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.563, allocations: 0 / 482.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002073/0.565, allocations: 1.035 MB / 483.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.5651, allocations: 8 kB / 483.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5651, allocations: 12.05 kB / 483.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.5655, allocations: 115.3 kB / 483.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007683/0.5663, allocations: 211.7 kB / 483.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.5703, allocations: 5.333 MB / 488.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.571, allocations: 78.95 kB / 489 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-05/0.5711, allocations: 40 kB / 489 MB, free: 6.348 MB / 362.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.0001851/0.5713, allocations: 128.6 kB / 489.2 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001735/0.573, allocations: 0.7957 MB / 490 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5732, allocations: 47.44 kB / 490 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.5752, allocations: 0.9241 MB / 490.9 MB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.5752, allocations: 12 kB / 490.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5752, allocations: 0 / 490.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5752, allocations: 3.984 kB / 490.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.5795, allocations: 2.688 MB / 493.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.5795, allocations: 8 kB / 493.6 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.5801, allocations: 143.8 kB / 493.8 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000308/0.5804, allocations: 115.5 kB / 493.9 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.5805, allocations: 15.98 kB / 493.9 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/0.584, allocations: 5.077 MB / 499 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/0.584, allocations: 12 kB / 499 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.5867, allocations: 1.833 MB / 0.4891 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.587, allocations: 144.3 kB / 0.4892 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.5871, allocations: 15.98 kB / 0.4892 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.5875, allocations: 12 kB / 0.4893 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.5876, allocations: 76.31 kB / 0.4893 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.043e-05/0.5877, allocations: 39.98 kB / 0.4894 GB, free: 9.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002353/0.588, allocations: 201.9 kB / 0.4896 GB, free: 8.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.588, allocations: 0 / 0.4896 GB, free: 8.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001115/0.5891, allocations: 227.2 kB / 0.4898 GB, free: 8.707 MB / 378.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.003847/0.5929, allocations: 4.619 MB / 0.4943 GB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.5946, allocations: 1.059 MB / 0.4953 GB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5946, allocations: 0 / 0.4953 GB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.5955, allocations: 0.7257 MB / 0.496 GB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.596, allocations: 64.7 kB / 0.4961 GB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.5989, allocations: 1.215 MB / 0.4973 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.5994, allocations: 0.9359 MB / 0.4982 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005202/0.6, allocations: 101 kB / 0.4983 GB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.6003, allocations: 251.3 kB / 0.4985 GB, free: 15.24 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6003, allocations: 0 / 0.4985 GB, free: 15.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.6343, allocations: 11.11 MB / 0.5094 GB, free: 4.113 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.6346, allocations: 161 kB / 0.5095 GB, free: 3.926 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/2.99, allocations: 0 / 0.5095 GB, free: 3.926 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_CylinderLeakage.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat does not exist to compare? outputFormat=mat