Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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.001336/0.001336, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001505/0.001505, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_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.00204/0.00204, allocations: 72.53 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.314, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.01022/0.3243, allocations: 6.762 MB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005865/0.3301, allocations: 2.485 MB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.3312, allocations: 27.94 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005046/0.3362, allocations: 1.889 MB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.3388, allocations: 0.5511 MB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.3419, allocations: 1.339 MB / 445 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.3442, allocations: 1.109 MB / 446.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001958/0.3461, allocations: 0.837 MB / 446.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009888/0.3471, allocations: 0.4904 MB / 447.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009761/0.3481, allocations: 0.6225 MB / 448.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.3483, allocations: 100 kB / 448.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.3497, allocations: 443.6 kB / 448.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.35, allocations: 247.1 kB / 448.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.3507, allocations: 0.5714 MB / 449.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.3534, allocations: 1.662 MB / 451.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3534, allocations: 0 / 451.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3534, allocations: 0 / 451.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.023e-05/0.3534, allocations: 0 / 451.1 MB, free: 3.66 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006708/0.3601, allocations: 1.987 MB / 453.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.3602, allocations: 8.031 kB / 453.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.3604, allocations: 194.4 kB / 453.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.3639, allocations: 495.7 kB / 453.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.3643, allocations: 248.8 kB / 454 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3644, allocations: 98.95 kB / 454.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.3647, allocations: 128.3 kB / 454.2 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/0.3673, allocations: 1.307 MB / 455.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/0.3674, allocations: 4 kB / 455.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.3675, allocations: 48 kB / 455.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.3675, allocations: 32 kB / 455.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.3702, allocations: 1.193 MB / 456.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007546/0.3777, allocations: 4.028 MB / 460.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.3799, allocations: 1.149 MB / 462 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009417/0.3808, allocations: 460 kB / 462.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.381, allocations: 44.94 kB / 462.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.381, allocations: 43.56 kB / 462.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.895e-06/0.381, allocations: 0 / 462.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.0107/0.3917, allocations: 3.545 MB / 466 MB, free: 4.367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.3918, allocations: 94.09 kB / 466.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.3923, allocations: 389.5 kB / 466.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.584e-05/0.3924, allocations: 49.64 kB / 466.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.3927, allocations: 472.6 kB / 467 MB, free: 3.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.3931, allocations: 440.1 kB / 467.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.3935, allocations: 239.5 kB / 467.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3937, allocations: 366.8 kB / 468 MB, free: 2.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3948, allocations: 435.8 kB / 468.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.3961, allocations: 0.6957 MB / 469.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.3986, allocations: 1.167 MB / 470.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3986, allocations: 7.938 kB / 470.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003341/0.4019, allocations: 1.459 MB / 471.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.402, allocations: 19.88 kB / 471.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.402, allocations: 8 kB / 471.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.4026, allocations: 193.6 kB / 472 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.4039, allocations: 287.6 kB / 472.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005058/0.409, allocations: 4.164 MB / 476.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4101, allocations: 79.95 kB / 476.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.4102, allocations: 56.17 kB / 476.6 MB, free: 9.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0005465/0.4108, allocations: 263.3 kB / 476.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.4109, allocations: 75.52 kB / 476.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/0.4144, allocations: 1.323 MB / 478.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.4144, allocations: 15.94 kB / 478.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/0.4144, allocations: 4 kB / 478.3 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.4144, allocations: 11.97 kB / 478.3 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005797/0.4202, allocations: 2.574 MB / 480.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.4202, allocations: 0 / 480.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.4213, allocations: 207.7 kB / 481.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/0.4219, allocations: 177.5 kB / 481.2 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.422, allocations: 27.98 kB / 481.3 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/0.4267, allocations: 3.975 MB / 485.2 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.4267, allocations: 7.922 kB / 485.2 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.4314, allocations: 1.861 MB / 487.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.4318, allocations: 151.5 kB / 487.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.432, allocations: 28.05 kB / 487.3 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.4328, allocations: 63.88 kB / 487.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.433, allocations: 92.89 kB / 487.4 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-05/0.4331, allocations: 39.97 kB / 487.5 MB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.4335, allocations: 267.2 kB / 487.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4335, allocations: 0 / 487.7 MB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001328/0.4348, allocations: 304 kB / 488 MB, free: 13.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (106): * Single equations (assignments): 104 * 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.004929/0.4397, allocations: 2.493 MB / 490.5 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.4432, allocations: 1.387 MB / 491.9 MB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.4432, allocations: 0 / 491.9 MB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.4451, allocations: 0.8203 MB / 492.7 MB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.4459, allocations: 69.42 kB / 492.8 MB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.4624, allocations: 7.554 MB / 0.4886 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009337/0.4633, allocations: 1.009 MB / 0.4896 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007159/0.464, allocations: 138.6 kB / 0.4897 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.4647, allocations: 355.3 kB / 0.4901 GB, free: 15.23 MB / 414.1 MB Notification: Performance of SimCode: time 1.774e-06/0.4647, allocations: 3.938 kB / 0.4901 GB, free: 15.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.067/0.5317, allocations: 18.49 MB / 0.5081 GB, free: 12.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/23.66, allocations: 3.562 kB / 0.5081 GB, free: 12.89 MB / 430.1 MB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_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_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.121392601169646] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi.re', 'magFluxSensor.Phi.im', 'voltageSensor.v.re', 'voltageSensor.v.im'] 23.756881810259074 23.773531246 23.416658805 Calling exit ...