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.001183/0.001183, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001317/0.001317, allocations: 220 kB / 22.92 MB, free: 5.191 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.292/1.292, allocations: 230.4 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.001775/0.001775, allocations: 67.83 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2145, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003996/0.2185, allocations: 2.8 MB / 432.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.2201, allocations: 0.9618 MB / 433.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2202, allocations: 8 kB / 433.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.2204, allocations: 63.42 kB / 433.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.2207, allocations: 103.2 kB / 433.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.221, allocations: 111.8 kB / 433.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2213, allocations: 358.6 kB / 433.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2215, allocations: 81.62 kB / 433.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.2217, allocations: 143.5 kB / 434 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2219, allocations: 151.3 kB / 434.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.2219, allocations: 28 kB / 434.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.602e-05/0.222, allocations: 32 kB / 434.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.2221, allocations: 71.75 kB / 434.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.2222, allocations: 159.1 kB / 434.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.2226, allocations: 370.9 kB / 434.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2226, allocations: 3.984 kB / 434.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2226, allocations: 0 / 434.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2227, allocations: 0 / 434.8 MB, free: 2.004 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.0009552/0.2236, allocations: 0.6155 MB / 435.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2236, allocations: 12.03 kB / 435.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.2237, allocations: 58.73 kB / 435.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2239, allocations: 44.73 kB / 435.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.2242, allocations: 272.7 kB / 435.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2243, allocations: 16.94 kB / 435.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.2243, allocations: 28.38 kB / 435.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.2247, allocations: 257 kB / 436.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2247, allocations: 0 / 436.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.2248, allocations: 12 kB / 436.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2248, allocations: 7.984 kB / 436.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.2252, allocations: 210.1 kB / 436.3 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.2267, allocations: 1.002 MB / 437.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.2271, allocations: 193.3 kB / 437.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.2273, allocations: 104.8 kB / 437.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.2274, allocations: 4 kB / 437.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2274, allocations: 34.59 kB / 437.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.162e-06/0.2274, allocations: 0 / 437.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00481/0.2322, allocations: 1.562 MB / 439.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.2322, allocations: 59.34 kB / 439.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.2325, allocations: 237 kB / 439.5 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2325, allocations: 29.7 kB / 439.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2326, allocations: 192.4 kB / 439.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.2327, allocations: 123 kB / 439.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2328, allocations: 66.06 kB / 439.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.233, allocations: 334.8 kB / 440.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.2332, allocations: 108.7 kB / 440.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.2335, allocations: 157.7 kB / 440.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.234, allocations: 287.6 kB / 440.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.234, allocations: 4 kB / 440.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001464/0.2355, allocations: 0.5217 MB / 441.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2355, allocations: 8 kB / 441.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2355, allocations: 0 / 441.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.2366, allocations: 249.5 kB / 441.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.2369, allocations: 63.91 kB / 441.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.2417, allocations: 4.126 MB / 445.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.242, allocations: 20.08 kB / 445.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.242, allocations: 12 kB / 445.8 MB, free: 6.383 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.0001976/0.2422, allocations: 153.7 kB / 445.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.2422, allocations: 23.86 kB / 445.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.639e-05/0.2423, allocations: 50.89 kB / 446 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2423, allocations: 4 kB / 446 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2423, allocations: 0 / 446 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2423, allocations: 3.984 kB / 446 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.2444, allocations: 0.9813 MB / 447 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2444, allocations: 0 / 447 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2446, allocations: 39.97 kB / 447 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.2457, allocations: 253.7 kB / 447.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.2457, allocations: 4 kB / 447.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.2502, allocations: 4.13 MB / 451.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.2502, allocations: 4.031 kB / 451.4 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.2519, allocations: 0.7175 MB / 452.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.252, allocations: 100.9 kB / 452.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.252, allocations: 19.86 kB / 452.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.2522, allocations: 12 kB / 452.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.2523, allocations: 32.02 kB / 452.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.2523, allocations: 12 kB / 452.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.2525, allocations: 164.5 kB / 452.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2525, allocations: 0 / 452.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005535/0.253, allocations: 104 kB / 452.6 MB, free: 15.18 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.001974/0.255, allocations: 1.278 MB / 453.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009414/0.2559, allocations: 0.5479 MB / 454.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2559, allocations: 0 / 454.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.2565, allocations: 425.4 kB / 454.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2568, allocations: 24.42 kB / 454.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.2625, allocations: 3.363 MB / 458.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.2629, allocations: 0.7802 MB / 459 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.983e-05/0.263, allocations: 18.28 kB / 459 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2631, allocations: 95.41 kB / 459.1 MB, free: 8.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2631, allocations: 0 / 459.1 MB, free: 8.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.3041, allocations: 8.577 MB / 467.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.32, allocations: 10.75 kB / 467.7 MB, free: 15.95 MB / 382.1 MB " [Timeout remaining time 649] (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 --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: 13.431066728000587]