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.QuadraticCoreAirgap.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.001256/0.001256, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001458/0.001458, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.482/1.482, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",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.001904/0.001904, allocations: 63.84 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1113, allocations: 53.32 MB / 426.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005087/0.1164, allocations: 3.542 MB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1183, allocations: 0.9697 MB / 431.4 MB, free: 356 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.1185, allocations: 11.94 kB / 431.4 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.1188, allocations: 99.08 kB / 431.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.1192, allocations: 166.7 kB / 431.7 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2382/0.3574, allocations: 167.8 kB / 431.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.3585, allocations: 0.6267 MB / 432.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.3588, allocations: 142.6 kB / 432.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.3592, allocations: 242.2 kB / 432.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.3595, allocations: 272.6 kB / 433.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.3596, allocations: 54.19 kB / 433.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.3597, allocations: 54.34 kB / 433.2 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.3598, allocations: 125.9 kB / 433.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.3601, allocations: 281.2 kB / 433.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.3608, allocations: 0.6404 MB / 434.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3608, allocations: 1.312 kB / 434.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3608, allocations: 0 / 434.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3608, allocations: 0 / 434.2 MB, free: 7.395 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001602/0.3624, allocations: 0.8743 MB / 435.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3624, allocations: 10.06 kB / 435.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.3626, allocations: 92.31 kB / 435.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3627, allocations: 67.08 kB / 435.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.3632, allocations: 356.2 kB / 435.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.3633, allocations: 41.97 kB / 435.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.771e-05/0.3634, allocations: 50.88 kB / 435.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.3643, allocations: 441.9 kB / 436.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.3643, allocations: 1.531 kB / 436.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.3643, allocations: 19.72 kB / 436.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3643, allocations: 12.09 kB / 436.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.3652, allocations: 395.4 kB / 436.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.3678, allocations: 1.58 MB / 438.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.3686, allocations: 382.2 kB / 438.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.369, allocations: 163.7 kB / 438.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.369, allocations: 6.5 kB / 438.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.369, allocations: 44.3 kB / 438.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.555e-06/0.369, allocations: 0 / 438.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003504/0.3725, allocations: 1.187 MB / 439.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3726, allocations: 58.25 kB / 440 MB, free: 4.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.3731, allocations: 413.5 kB / 440.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3731, allocations: 36.08 kB / 440.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.3733, allocations: 310.5 kB / 440.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.3734, allocations: 194.7 kB / 440.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.3736, allocations: 115.1 kB / 441 MB, free: 4.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3737, allocations: 356.7 kB / 441.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.3742, allocations: 178.9 kB / 441.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/0.3746, allocations: 301.7 kB / 441.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.3756, allocations: 490 kB / 442.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.3756, allocations: 1.562 kB / 442.3 MB, free: 3.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001561/0.3772, allocations: 0.7371 MB / 443.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.3772, allocations: 13.41 kB / 443.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.3772, allocations: 2.375 kB / 443.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.3778, allocations: 185.8 kB / 443.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.3783, allocations: 111.5 kB / 443.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.3827, allocations: 4.274 MB / 447.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.3833, allocations: 35.72 kB / 447.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.3834, allocations: 26.22 kB / 447.7 MB, free: 15.22 MB / 366.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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.3837, allocations: 187.2 kB / 447.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.3838, allocations: 51.11 kB / 447.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.3839, allocations: 64.62 kB / 448 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.3839, allocations: 13.75 kB / 448 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/0.3839, allocations: 8.5 kB / 448 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.3839, allocations: 3.422 kB / 448 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.3867, allocations: 1.291 MB / 449.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3867, allocations: 3.297 kB / 449.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.387, allocations: 68.64 kB / 449.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.3875, allocations: 157.9 kB / 449.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.3876, allocations: 20.73 kB / 449.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.3921, allocations: 4.093 MB / 453.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3921, allocations: 6.516 kB / 453.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3935, allocations: 0.6937 MB / 454.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.3937, allocations: 129.6 kB / 454.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.3938, allocations: 8.656 kB / 454.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.3941, allocations: 27.92 kB / 454.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.3942, allocations: 48.64 kB / 454.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.3943, allocations: 15.33 kB / 454.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004048/0.3947, allocations: 283.8 kB / 454.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3947, allocations: 0 / 454.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.3955, allocations: 149.3 kB / 455 MB, free: 9.867 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001651/0.3971, allocations: 1.247 MB / 456.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.3988, allocations: 0.7611 MB / 457 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3988, allocations: 1.469 kB / 457 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.3997, allocations: 0.5151 MB / 457.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.4003, allocations: 61.66 kB / 457.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/0.4085, allocations: 4.655 MB / 462.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.4091, allocations: 0.8579 MB / 463.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002154/0.4093, allocations: 49.95 kB / 463.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.4096, allocations: 181.6 kB / 463.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4096, allocations: 0 / 463.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/0.4534, allocations: 9.91 MB / 473.2 MB, free: 368 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.4, allocations: 11.39 kB / 473.2 MB, free: 364 kB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_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_QuadraticCoreAirgap.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.841931183822453] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.489231160841882 11.5121075 11.146378745 Calling exit ...