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.001706/0.001706, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.002215/0.002215, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.51/1.51, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.001923/0.001923, allocations: 67.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1255, allocations: 53.31 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004935/0.1305, allocations: 2.791 MB / 429.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1324, allocations: 0.954 MB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1326, allocations: 4 kB / 430.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1329, allocations: 67.44 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.1332, allocations: 107.2 kB / 430.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1335, allocations: 111.8 kB / 430.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.1339, allocations: 350.6 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.1342, allocations: 81.69 kB / 431.3 MB, free: 400 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1344, allocations: 139.5 kB / 431.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.1346, allocations: 159.3 kB / 431.6 MB, free: 100 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.1347, allocations: 28 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.1348, allocations: 32 kB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2383/0.3731, allocations: 66.69 kB / 431.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.3733, allocations: 158.1 kB / 431.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.3739, allocations: 373.2 kB / 432.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3739, allocations: 0.5 kB / 432.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3739, allocations: 0 / 432.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.3739, allocations: 1.406 kB / 432.3 MB, free: 7.934 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0011/0.375, allocations: 0.616 MB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3751, allocations: 9.938 kB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.449e-05/0.3752, allocations: 61.17 kB / 432.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.3754, allocations: 43.03 kB / 433 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.3757, allocations: 272.9 kB / 433.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.3758, allocations: 19.03 kB / 433.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.3758, allocations: 31.09 kB / 433.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.3763, allocations: 253.8 kB / 433.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3763, allocations: 1.781 kB / 433.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.3763, allocations: 8.938 kB / 433.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3763, allocations: 6.531 kB / 433.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.3767, allocations: 213.5 kB / 433.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.378, allocations: 0.9961 MB / 434.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.3784, allocations: 188.4 kB / 434.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.3787, allocations: 109.9 kB / 435.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3787, allocations: 2.312 kB / 435.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3787, allocations: 35.75 kB / 435.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.3787, allocations: 1.25 kB / 435.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.004883/0.3836, allocations: 1.549 MB / 436.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.3836, allocations: 60 kB / 436.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.3839, allocations: 230 kB / 436.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3839, allocations: 34.77 kB / 437 MB, free: 5.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.384, allocations: 186 kB / 437.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.384, allocations: 126.9 kB / 437.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3841, allocations: 72.7 kB / 437.3 MB, free: 5.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.622e-05/0.3842, allocations: 339.2 kB / 437.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.3844, allocations: 108.2 kB / 437.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3847, allocations: 155.3 kB / 437.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.3851, allocations: 289.3 kB / 438.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3851, allocations: 0 / 438.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0015/0.3866, allocations: 0.533 MB / 438.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3867, allocations: 10.81 kB / 438.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.3867, allocations: 1.969 kB / 438.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.3879, allocations: 239 kB / 439 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3882, allocations: 57.84 kB / 439 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004168/0.3924, allocations: 4.146 MB / 443.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.3926, allocations: 10.55 kB / 443.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.3927, allocations: 14.72 kB / 443.2 MB, free: 1.508 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.0001659/0.3928, allocations: 151.4 kB / 443.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.3929, allocations: 26.23 kB / 443.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.393, allocations: 43.83 kB / 443.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.393, allocations: 5.438 kB / 443.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.393, allocations: 1.312 kB / 443.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.393, allocations: 1.875 kB / 443.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.3951, allocations: 0.9799 MB / 444.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3951, allocations: 1.719 kB / 444.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.3953, allocations: 46.2 kB / 444.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.3965, allocations: 237.7 kB / 444.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.3965, allocations: 11.16 kB / 444.7 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00498/0.4015, allocations: 4.127 MB / 448.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4015, allocations: 2.266 kB / 448.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.4035, allocations: 0.7234 MB / 449.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4036, allocations: 101.8 kB / 449.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4036, allocations: 15.2 kB / 449.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.4038, allocations: 11.66 kB / 449.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4039, allocations: 28.81 kB / 449.7 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.404, allocations: 12.62 kB / 449.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.4042, allocations: 170 kB / 449.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4042, allocations: 4.062 kB / 449.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006644/0.4048, allocations: 100.1 kB / 450 MB, free: 12.48 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.002306/0.4071, allocations: 1.274 MB / 451.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.4083, allocations: 0.5499 MB / 451.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4083, allocations: 4.062 kB / 451.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.4089, allocations: 417.9 kB / 452.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4093, allocations: 28.83 kB / 452.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/0.4158, allocations: 3.358 MB / 455.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.4163, allocations: 0.783 MB / 456.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.4164, allocations: 23.17 kB / 456.4 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4166, allocations: 97.83 kB / 456.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4166, allocations: 1.562 kB / 456.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.4599, allocations: 8.584 MB / 465.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.26, allocations: 7.516 kB / 465.1 MB, free: 5.254 MB / 366.1 MB " [Timeout remaining time 647] (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.73503290116787] 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.364432306960225 13.381080524 13.004321086 Calling exit ...