Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001456/0.001456, allocations: 105 kB / 19.74 MB, free: 2.566 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.001608/0.001608, allocations: 218.6 kB / 22.92 MB, free: 5.539 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.317/1.317, allocations: 230.4 MB / 256.4 MB, free: 8.438 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.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",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.001841/0.001841, allocations: 63.84 kB / 376.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.228, allocations: 53.3 MB / 429.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003092/0.2311, allocations: 2.089 MB / 431.5 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2322, allocations: 0.6662 MB / 432.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.2322, allocations: 0 / 432.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/0.2323, allocations: 19.78 kB / 432.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2324, allocations: 47.58 kB / 432.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.2328, allocations: 103.8 kB / 432.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.233, allocations: 183.3 kB / 432.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2331, allocations: 37.55 kB / 432.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.2333, allocations: 95.62 kB / 432.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2334, allocations: 71.69 kB / 432.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.2335, allocations: 16 kB / 432.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.2335, allocations: 27.94 kB / 432.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.2336, allocations: 39.83 kB / 432.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.2337, allocations: 75.66 kB / 432.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.2339, allocations: 183.7 kB / 433 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2339, allocations: 0 / 433 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2339, allocations: 0 / 433 MB, free: 3.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2339, allocations: 0 / 433 MB, free: 3.773 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007495/0.2346, allocations: 478.7 kB / 433.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2347, allocations: 8.031 kB / 433.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.2347, allocations: 46.69 kB / 433.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.2351, allocations: 56.8 kB / 433.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.2354, allocations: 220.1 kB / 433.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2354, allocations: 8.375 kB / 433.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.2354, allocations: 4.375 kB / 433.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.2357, allocations: 164.1 kB / 434 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2357, allocations: 0 / 434 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2358, allocations: 4 kB / 434 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2358, allocations: 4 kB / 434 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.236, allocations: 91.94 kB / 434.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000873/0.2369, allocations: 0.5033 MB / 434.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.2372, allocations: 110.4 kB / 434.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.2374, allocations: 64.97 kB / 434.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2374, allocations: 3.984 kB / 434.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2374, allocations: 38.5 kB / 434.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2374, allocations: 0 / 434.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004578/0.2379, allocations: 141.6 kB / 435 MB, free: 1.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.238, allocations: 110.8 kB / 435.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2381, allocations: 162.8 kB / 435.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.2382, allocations: 25.7 kB / 435.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.2382, allocations: 127.9 kB / 435.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.2383, allocations: 23.73 kB / 435.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.2383, allocations: 33.7 kB / 435.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2384, allocations: 318.8 kB / 435.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2386, allocations: 39.98 kB / 435.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.2387, allocations: 80.25 kB / 435.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.239, allocations: 98.48 kB / 436 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.239, allocations: 4.031 kB / 436 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003179/0.2393, allocations: 145.5 kB / 436.1 MB, free: 436 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2393, allocations: 8 kB / 436.1 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2393, allocations: 48 / 436.1 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2393, allocations: 3.984 kB / 436.1 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.2399, allocations: 91.94 kB / 436.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.2413, allocations: 1.492 MB / 437.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.2415, allocations: 27.84 kB / 437.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2415, allocations: 8 kB / 437.7 MB, free: 14.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.2416, allocations: 128.8 kB / 437.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.2416, allocations: 15.94 kB / 437.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.2421, allocations: 155.1 kB / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2421, allocations: 7.938 kB / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.2421, allocations: 0 / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2421, allocations: 0 / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007141/0.2428, allocations: 468 kB / 438.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2428, allocations: 0 / 438.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2429, allocations: 19.98 kB / 438.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/0.2431, allocations: 32.83 kB / 438.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2431, allocations: 0 / 438.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.2442, allocations: 1.395 MB / 439.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2442, allocations: 4.188 kB / 439.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.2448, allocations: 305.5 kB / 440.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.2448, allocations: 89.09 kB / 440.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.2449, allocations: 15.86 kB / 440.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.245, allocations: 11.98 kB / 440.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.2451, allocations: 8 kB / 440.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.2451, allocations: 4 kB / 440.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.2452, allocations: 124.1 kB / 440.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2452, allocations: 0 / 440.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.2455, allocations: 47.89 kB / 440.5 MB, free: 11.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008642/0.2463, allocations: 0.8259 MB / 441.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.247, allocations: 136 kB / 441.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.247, allocations: 0 / 441.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.2473, allocations: 162.6 kB / 441.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.2475, allocations: 19.16 kB / 441.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.2506, allocations: 2.11 MB / 443.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2509, allocations: 0.7118 MB / 444.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.251, allocations: 20.53 kB / 444.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.2511, allocations: 43.42 kB / 444.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2511, allocations: 0 / 444.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2824, allocations: 3.364 MB / 447.9 MB, free: 4.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.44, allocations: 8 kB / 447.9 MB, free: 4.148 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.57671142599429]