Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00153/0.00153, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001461/0.001461, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.523/1.523, allocations: 230.4 MB / 254.7 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 75.81 kB / 373.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1092, allocations: 53.31 MB / 426.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00456/0.1137, allocations: 2.88 MB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1153, allocations: 0.7867 MB / 430.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1154, allocations: 8 kB / 430.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1156, allocations: 63.42 kB / 430.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1159, allocations: 103.2 kB / 430.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.1162, allocations: 115.8 kB / 430.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.1166, allocations: 398.5 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.1168, allocations: 94.92 kB / 431.3 MB, free: 360 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.1171, allocations: 167.4 kB / 431.5 MB, free: 192 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1173, allocations: 175.2 kB / 431.7 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2416/0.3589, allocations: 31.33 kB / 431.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3591, allocations: 33.59 kB / 431.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.3591, allocations: 77.8 kB / 431.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3594, allocations: 182.8 kB / 432 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.3599, allocations: 406.2 kB / 432.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3599, allocations: 0 / 432.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3599, allocations: 0 / 432.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3599, allocations: 1.312 kB / 432.4 MB, free: 7.895 MB / 350.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.001195/0.3611, allocations: 0.6615 MB / 433 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3612, allocations: 9.969 kB / 433 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.899e-05/0.3612, allocations: 65.94 kB / 433.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.3613, allocations: 38.86 kB / 433.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3617, allocations: 280.3 kB / 433.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.3617, allocations: 26.94 kB / 433.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.3618, allocations: 32.56 kB / 433.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.3623, allocations: 296.1 kB / 433.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3623, allocations: 0 / 433.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.3624, allocations: 10.09 kB / 433.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3624, allocations: 9.75 kB / 433.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/0.3629, allocations: 258.8 kB / 434 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.3644, allocations: 1.111 MB / 435.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.3648, allocations: 148.9 kB / 435.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.365, allocations: 66.08 kB / 435.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.365, allocations: 4.547 kB / 435.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.365, allocations: 31.69 kB / 435.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.365, allocations: 2.875 kB / 435.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002045/0.3671, allocations: 0.6017 MB / 436 MB, free: 6.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3671, allocations: 55.05 kB / 436 MB, free: 6.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.3674, allocations: 287.2 kB / 436.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3674, allocations: 29.14 kB / 436.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3676, allocations: 231.9 kB / 436.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.3676, allocations: 77.64 kB / 436.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.3677, allocations: 68.7 kB / 436.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.3678, allocations: 338.6 kB / 437.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.368, allocations: 98.95 kB / 437.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.3684, allocations: 195.8 kB / 437.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.3689, allocations: 296.7 kB / 437.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3689, allocations: 1.156 kB / 437.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000848/0.3698, allocations: 400.7 kB / 438 MB, free: 5.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3698, allocations: 9.016 kB / 438 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3698, allocations: 2.312 kB / 438 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.3701, allocations: 65.73 kB / 438.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.3704, allocations: 68.98 kB / 438.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.3719, allocations: 2.841 MB / 441 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.3722, allocations: 19.52 kB / 441 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3723, allocations: 16.3 kB / 441 MB, free: 2.52 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.0001629/0.3724, allocations: 159.8 kB / 441.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.3725, allocations: 28.59 kB / 441.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/0.3725, allocations: 30.34 kB / 441.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3725, allocations: 2.188 kB / 441.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3726, allocations: 2.281 kB / 441.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3726, allocations: 1.5 kB / 441.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.3729, allocations: 339.9 kB / 441.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3729, allocations: 5.375 kB / 441.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3732, allocations: 35.86 kB / 441.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.3733, allocations: 66.12 kB / 441.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.3733, allocations: 9.891 kB / 441.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.375, allocations: 2.822 MB / 444.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.375, allocations: 4.125 kB / 444.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/0.3757, allocations: 377.2 kB / 444.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.3758, allocations: 101.9 kB / 445 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.3759, allocations: 9.719 kB / 445 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3761, allocations: 13.5 kB / 445 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3762, allocations: 22.8 kB / 445.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3762, allocations: 7.906 kB / 445.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.3764, allocations: 198.8 kB / 445.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3764, allocations: 0 / 445.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000457/0.3769, allocations: 72.66 kB / 445.3 MB, free: 14.81 MB / 366.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.00111/0.378, allocations: 0.9198 MB / 446.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.379, allocations: 477 kB / 446.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.379, allocations: 1.281 kB / 446.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.3796, allocations: 337.9 kB / 447 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.38, allocations: 30.61 kB / 447.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.3853, allocations: 3.034 MB / 450.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.3858, allocations: 0.7746 MB / 450.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.386, allocations: 29.83 kB / 450.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.3861, allocations: 100.3 kB / 451 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3861, allocations: 7.188 kB / 451 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04051/0.4266, allocations: 5.833 MB / 456.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.75, allocations: 19.02 kB / 456.9 MB, free: 9.898 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.18511349381879] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 10.839807636104524 10.861287869 10.497328201 Calling exit ...