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.SaturatedInductor.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.001695/0.001695, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002354/0.002354, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.SaturatedInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",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.00193/0.00193, allocations: 59.89 kB / 378.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3062, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004511/0.3107, allocations: 2.815 MB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3124, allocations: 0.9617 MB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.3126, allocations: 11.94 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.3128, allocations: 59.5 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.3131, allocations: 107.2 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.3135, allocations: 115.7 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.3139, allocations: 350.7 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.3141, allocations: 77.97 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.3143, allocations: 147.4 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.3146, allocations: 155.3 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.3146, allocations: 28 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.3147, allocations: 32 kB / 436.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.3148, allocations: 71.75 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.3149, allocations: 159.2 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.3154, allocations: 370.4 kB / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3154, allocations: 4 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3154, allocations: 0 / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3154, allocations: 0 / 437.3 MB, free: 1.43 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001037/0.3165, allocations: 0.5364 MB / 437.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3165, allocations: 12.03 kB / 437.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.066e-05/0.3166, allocations: 66.66 kB / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.3167, allocations: 40.75 kB / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3171, allocations: 210.9 kB / 438.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3171, allocations: 21.03 kB / 438.2 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.3172, allocations: 32.36 kB / 438.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.3177, allocations: 262.1 kB / 438.5 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3177, allocations: 0 / 438.5 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.3177, allocations: 11.98 kB / 438.5 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3177, allocations: 8 kB / 438.5 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.3182, allocations: 210.6 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.3199, allocations: 0.9635 MB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.3203, allocations: 194.5 kB / 439.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3206, allocations: 100.8 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.3206, allocations: 4 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3206, allocations: 34.56 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.3207, allocations: 0 / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005183/0.3258, allocations: 1.393 MB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3259, allocations: 55.41 kB / 441.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.3262, allocations: 240.9 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3262, allocations: 29.7 kB / 441.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3263, allocations: 192.5 kB / 441.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.3265, allocations: 126.9 kB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3266, allocations: 62.08 kB / 442.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3267, allocations: 334.8 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.327, allocations: 112.6 kB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.3273, allocations: 165.5 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005439/0.3278, allocations: 283.6 kB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3278, allocations: 0 / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001619/0.3294, allocations: 0.5334 MB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3295, allocations: 4 kB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3295, allocations: 0 / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3307, allocations: 245.5 kB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.331, allocations: 59.89 kB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/0.3363, allocations: 3.949 MB / 447.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.3366, allocations: 8 kB / 447.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3366, allocations: 12 kB / 447.8 MB, free: 6.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.3368, allocations: 153.7 kB / 447.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.3368, allocations: 23.86 kB / 448 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3369, allocations: 38.95 kB / 448 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.337, allocations: 4 kB / 448 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.337, allocations: 4 kB / 448 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.337, allocations: 8.047 kB / 448 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.3392, allocations: 0.9533 MB / 449 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3392, allocations: 0 / 449 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.3395, allocations: 43.91 kB / 449 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.3406, allocations: 245.7 kB / 449.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.3407, allocations: 8 kB / 449.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/0.3458, allocations: 3.919 MB / 453.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3458, allocations: 3.984 kB / 453.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3477, allocations: 0.7168 MB / 453.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.3478, allocations: 24.08 kB / 453.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.3478, allocations: 11.75 kB / 453.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.348, allocations: 20.05 kB / 453.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3482, allocations: 31.88 kB / 454 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3482, allocations: 12 kB / 454 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.3484, allocations: 164.8 kB / 454.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3484, allocations: 4 kB / 454.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006164/0.349, allocations: 104 kB / 454.3 MB, free: 15.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (19): * Single equations (assignments): 17 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002235/0.3512, allocations: 1.274 MB / 455.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3524, allocations: 0.5557 MB / 456.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3524, allocations: 0 / 456.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006373/0.353, allocations: 421.4 kB / 456.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3533, allocations: 22.31 kB / 456.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0064/0.3597, allocations: 3.369 MB / 459.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3602, allocations: 0.7801 MB / 460.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.548e-05/0.3603, allocations: 18.3 kB / 460.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3604, allocations: 95.39 kB / 460.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3604, allocations: 4 kB / 460.8 MB, free: 8.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.4057, allocations: 8.805 MB / 469.6 MB, free: 220 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.55, allocations: 8 kB / 469.6 MB, free: 212 kB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.956487271003425] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.i', 'coil.Phi', 'r_mLeak.port_p.Phi', 'r_mFe.mu_r', 'r_mFe.B', 'r_mFe.H'] 13.646498785819858 13.664210262 13.34563127 Calling exit ...