Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 198.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 93.42 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.896e-05, allocations: 0 / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 51.47 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/0.4106, allocations: 81.16 MB / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4109, allocations: 75.92 kB / 476.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02129/0.4322, allocations: 8.443 MB / 484.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4323, allocations: 0 / 484.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.4323, allocations: 11.94 kB / 485 MB, free: 4.773 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000916/0.4332, allocations: 0.5793 MB / 485.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4333, allocations: 8.031 kB / 485.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.4334, allocations: 39.53 kB / 485.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.4337, allocations: 267.3 kB / 485.8 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4338, allocations: 12 kB / 485.8 MB, free: 3.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.4338, allocations: 16 kB / 485.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003365/0.4342, allocations: 192.8 kB / 486.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.4346, allocations: 222.2 kB / 486.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4346, allocations: 4 kB / 486.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.4346, allocations: 0 / 486.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.4346, allocations: 8 kB / 486.3 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.4361, allocations: 1.072 MB / 487.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.4363, allocations: 124.8 kB / 487.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.4364, allocations: 48.56 kB / 487.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.4364, allocations: 4 kB / 487.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.4364, allocations: 38.06 kB / 487.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.4365, allocations: 0 / 487.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008919/0.4374, allocations: 372.6 kB / 487.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.4374, allocations: 55.59 kB / 488 MB, free: 1.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.4376, allocations: 244.6 kB / 488.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4376, allocations: 25.7 kB / 488.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/0.4377, allocations: 228.4 kB / 488.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.4378, allocations: 72.94 kB / 488.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.4378, allocations: 3.938 kB / 488.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.4378, allocations: 337.5 kB / 488.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.4379, allocations: 69.41 kB / 488.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4381, allocations: 152.6 kB / 489.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.4382, allocations: 84.89 kB / 489.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4382, allocations: 3.984 kB / 489.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004005/0.4386, allocations: 301.6 kB / 489.5 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4386, allocations: 11.95 kB / 489.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4386, allocations: 4.406 kB / 489.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.4389, allocations: 65.41 kB / 489.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.4392, allocations: 82.64 kB / 489.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.441, allocations: 2.527 MB / 492.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.4413, allocations: 19.98 kB / 492.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.4413, allocations: 15.5 kB / 492.2 MB, free: 13.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4414, allocations: 112.9 kB / 492.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004005/0.4418, allocations: 207.4 kB / 492.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.4419, allocations: 23.72 kB / 492.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.442, allocations: 31.77 kB / 492.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.442, allocations: 4 kB / 492.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.442, allocations: 4 kB / 492.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.442, allocations: 3.953 kB / 492.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.4424, allocations: 284 kB / 492.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4424, allocations: 0 / 492.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.4426, allocations: 43.91 kB / 492.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.4428, allocations: 56.55 kB / 492.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.4428, allocations: 7.312 kB / 493 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.4445, allocations: 2.517 MB / 495.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4446, allocations: 4.125 kB / 495.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.445, allocations: 304.4 kB / 495.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.4451, allocations: 92.83 kB / 495.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.4451, allocations: 11.94 kB / 495.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.4453, allocations: 23.8 kB / 495.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.4454, allocations: 16.91 kB / 495.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4454, allocations: 7.875 kB / 495.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.4456, allocations: 177.4 kB / 496.1 MB, free: 9.895 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4456, allocations: 3.938 kB / 496.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.446, allocations: 64 kB / 496.2 MB, free: 9.828 MB / 362.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 (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 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.0006986/0.4467, allocations: 0.8468 MB / 497 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.4473, allocations: 403.4 kB / 497.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4473, allocations: 0 / 497.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.4476, allocations: 299.3 kB / 497.7 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.4479, allocations: 24.12 kB / 497.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.4489, allocations: 382.5 kB / 498.1 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.4493, allocations: 0.7794 MB / 498.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.4494, allocations: 30.14 kB / 498.9 MB, free: 7.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.4496, allocations: 99.22 kB / 499 MB, free: 7.102 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4496, allocations: 0 / 499 MB, free: 7.102 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.4731, allocations: 4.648 MB / 0.4918 GB, free: 2.516 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.4733, allocations: 181.5 kB / 0.492 GB, free: 2.328 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.395, allocations: 0 / 0.492 GB, free: 2.328 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat does not exist to compare? outputFormat=mat