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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 60.08 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2886, allocations: 53.41 MB / 431.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004597/0.2932, allocations: 2.681 MB / 434.6 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.2947, allocations: 0.7438 MB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.2949, allocations: 4 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.2951, allocations: 71.36 kB / 435.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.2955, allocations: 103.2 kB / 435.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.2958, allocations: 107.8 kB / 435.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.2962, allocations: 410.4 kB / 436 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.2964, allocations: 95.33 kB / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.2967, allocations: 163.4 kB / 436.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2969, allocations: 175.2 kB / 436.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.297, allocations: 32 kB / 436.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.2971, allocations: 36 kB / 436.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.2971, allocations: 79.69 kB / 436.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.2973, allocations: 147.2 kB / 436.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.2978, allocations: 406.3 kB / 437.1 MB, free: 1.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2978, allocations: 11.94 kB / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2978, allocations: 4 kB / 437.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2978, allocations: 0 / 437.1 MB, free: 1.234 MB / 334.1 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.001291/0.2991, allocations: 0.5908 MB / 437.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2991, allocations: 8.031 kB / 437.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.724e-05/0.2992, allocations: 8.844 kB / 437.7 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.2992, allocations: 66.73 kB / 437.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.2993, allocations: 40.69 kB / 437.9 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.2997, allocations: 221.7 kB / 438.1 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2998, allocations: 25.03 kB / 438.1 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.2998, allocations: 32.38 kB / 438.1 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.3005, allocations: 286 kB / 438.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3005, allocations: 7.984 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3005, allocations: 16 kB / 438.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3005, allocations: 8 kB / 438.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.3012, allocations: 250.4 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.3029, allocations: 0.9361 MB / 439.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.3033, allocations: 146.5 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.3035, allocations: 56.83 kB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.3035, allocations: 4 kB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3035, allocations: 46.48 kB / 439.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.3035, allocations: 4 kB / 439.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002099/0.3056, allocations: 0.5856 MB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3057, allocations: 59.34 kB / 440.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.306, allocations: 288.1 kB / 440.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3061, allocations: 37.7 kB / 440.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.3062, allocations: 232.1 kB / 441.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.3063, allocations: 79.31 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3064, allocations: 61.7 kB / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3066, allocations: 334.8 kB / 441.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.3068, allocations: 95.94 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.3072, allocations: 196 kB / 441.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.3079, allocations: 305.1 kB / 442.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3079, allocations: 0 / 442.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008889/0.3088, allocations: 401 kB / 442.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3088, allocations: 7.938 kB / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3088, allocations: 4 kB / 442.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.3091, allocations: 62.08 kB / 442.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.3094, allocations: 75.89 kB / 442.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.3117, allocations: 2.618 MB / 445.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.312, allocations: 23.97 kB / 445.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.3121, allocations: 19.94 kB / 445.3 MB, free: 8.512 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.3123, allocations: 157.7 kB / 445.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.3123, allocations: 27.81 kB / 445.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.3124, allocations: 34.36 kB / 445.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.3124, allocations: 4 kB / 445.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3124, allocations: 0 / 445.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3124, allocations: 0 / 445.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.3129, allocations: 288.5 kB / 445.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3129, allocations: 0 / 445.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.3131, allocations: 43.84 kB / 445.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.3133, allocations: 57.67 kB / 445.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3133, allocations: 8 kB / 445.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.3155, allocations: 2.61 MB / 448.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.3155, allocations: 8.156 kB / 448.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.3163, allocations: 368.8 kB / 448.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.3164, allocations: 31.8 kB / 448.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3164, allocations: 4 kB / 448.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3166, allocations: 15.98 kB / 448.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.3167, allocations: 23.95 kB / 449 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3167, allocations: 8 kB / 449 MB, free: 4.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.3169, allocations: 199.1 kB / 449.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3169, allocations: 0 / 449.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.3174, allocations: 72 kB / 449.2 MB, free: 4.27 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.3185, allocations: 0.9162 MB / 450.2 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3195, allocations: 469.3 kB / 450.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3195, allocations: 0 / 450.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.32, allocations: 341.2 kB / 450.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3204, allocations: 36.58 kB / 451 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.3252, allocations: 3.029 MB / 454 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3254, allocations: 180.7 kB / 454.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3255, allocations: 30.41 kB / 454.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3257, allocations: 99.41 kB / 454.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3257, allocations: 0 / 454.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.3625, allocations: 6.174 MB / 460.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.55, allocations: 10.97 kB / 460.5 MB, free: 8.918 MB / 366.1 MB " [Timeout remaining time 647] (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/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 --stepSize=0.0001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.009497346007265] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 12.712182521005161 12.727116717 12.426256964 Calling exit ...