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.001716/0.001716, allocations: 109.4 kB / 20.22 MB, free: 1.812 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.002175/0.002175, allocations: 215.5 kB / 23.48 MB, free: 5.254 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.455/1.455, allocations: 230.5 MB / 257 MB, free: 8.258 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.001838/0.001838, allocations: 67.91 kB / 377.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3018, allocations: 53.31 MB / 430.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005168/0.3069, allocations: 3.565 MB / 433.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.3088, allocations: 0.9659 MB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.309, allocations: 8 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.3093, allocations: 95.09 kB / 435 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.3097, allocations: 170.7 kB / 435.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.3101, allocations: 171.7 kB / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.3107, allocations: 0.6348 MB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.311, allocations: 145.4 kB / 436.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.3113, allocations: 243.1 kB / 436.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.3116, allocations: 270.6 kB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.3117, allocations: 56 kB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.3118, allocations: 56 kB / 436.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3119, allocations: 119.5 kB / 436.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.3122, allocations: 290.5 kB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.3129, allocations: 0.6343 MB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3129, allocations: 3.938 kB / 437.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3129, allocations: 3.938 kB / 437.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.3129, allocations: 0 / 437.8 MB, free: 15.85 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.001511/0.3144, allocations: 0.8725 MB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3145, allocations: 12.03 kB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3146, allocations: 90.7 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.3147, allocations: 68.52 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.3152, allocations: 355.9 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.3152, allocations: 37.69 kB / 439.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.3153, allocations: 52.12 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.3161, allocations: 434.5 kB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3162, allocations: 0 / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.3162, allocations: 24 kB / 439.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3162, allocations: 12 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.3171, allocations: 393 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.3196, allocations: 1.582 MB / 441.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.3203, allocations: 382.4 kB / 442.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.3207, allocations: 165.4 kB / 442.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.3207, allocations: 8.391 kB / 442.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3207, allocations: 34.89 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.793e-06/0.3207, allocations: 3.938 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003122/0.3239, allocations: 1.197 MB / 443.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3239, allocations: 55.97 kB / 443.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.3244, allocations: 413.5 kB / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3244, allocations: 37.7 kB / 444 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.3246, allocations: 312.7 kB / 444.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3248, allocations: 194.3 kB / 444.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.325, allocations: 110.3 kB / 444.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3252, allocations: 358.8 kB / 444.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/0.3256, allocations: 177.2 kB / 445.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.3261, allocations: 299.1 kB / 445.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.327, allocations: 498.5 kB / 445.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.327, allocations: 7.938 kB / 445.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001398/0.3284, allocations: 0.7344 MB / 446.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3284, allocations: 8 kB / 446.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3284, allocations: 4 kB / 446.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.3289, allocations: 180.5 kB / 446.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.3294, allocations: 119.9 kB / 446.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/0.3339, allocations: 4.282 MB / 451.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.3343, allocations: 35.92 kB / 451.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.3344, allocations: 24 kB / 451.2 MB, free: 1.691 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 (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.000247/0.3346, allocations: 178.1 kB / 451.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.3347, allocations: 51.67 kB / 451.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.3348, allocations: 65.06 kB / 451.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3348, allocations: 12 kB / 451.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.3348, allocations: 7.938 kB / 451.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3349, allocations: 0 / 451.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.3371, allocations: 1.288 MB / 452.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3371, allocations: 4 kB / 452.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.3374, allocations: 67.89 kB / 452.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/0.3378, allocations: 169.5 kB / 453.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3378, allocations: 16 kB / 453.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.3419, allocations: 4.103 MB / 457.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3419, allocations: 0 / 457.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.3431, allocations: 0.7016 MB / 457.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.3432, allocations: 132.6 kB / 458 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.3433, allocations: 12 kB / 458 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.3435, allocations: 23.97 kB / 458.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.3436, allocations: 44.38 kB / 458.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3437, allocations: 16 kB / 458.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003197/0.344, allocations: 283.2 kB / 458.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.344, allocations: 4 kB / 458.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007042/0.3447, allocations: 148 kB / 458.5 MB, free: 9.98 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.001554/0.3462, allocations: 1.253 MB / 459.8 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.3477, allocations: 0.7572 MB / 460.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3477, allocations: 0 / 460.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008038/0.3485, allocations: 0.5162 MB / 461.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.349, allocations: 48.7 kB / 461.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/0.356, allocations: 4.672 MB / 465.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.3566, allocations: 0.8592 MB / 466.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.3568, allocations: 44.36 kB / 466.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.357, allocations: 179.4 kB / 466.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.357, allocations: 4 kB / 466.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04575/0.4028, allocations: 9.925 MB / 476.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.41, allocations: 10.8 kB / 476.8 MB, free: 7.512 MB / 382.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.81429972499609] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 11.493873703991994 11.510194894 11.194088172 Calling exit ...