Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001427/0.001427, allocations: 109 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.001636/0.001636, allocations: 213.9 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors",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.002008/0.002008, allocations: 64.77 kB / 378.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.25, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004096/0.2541, allocations: 2.872 MB / 434.8 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2556, allocations: 0.7672 MB / 435.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2557, allocations: 8 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.2559, allocations: 63.34 kB / 435.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.2561, allocations: 95.06 kB / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.2565, allocations: 131.8 kB / 435.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.257, allocations: 450.8 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.2573, allocations: 165.4 kB / 436.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.2576, allocations: 195.3 kB / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.2579, allocations: 199.2 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.2579, allocations: 44 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.258, allocations: 59.94 kB / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.2581, allocations: 91.75 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.2583, allocations: 227 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.2589, allocations: 0.5027 MB / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2589, allocations: 0 / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2589, allocations: 0 / 437.7 MB, free: 1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.2589, allocations: 0 / 437.7 MB, free: 1 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001104/0.26, allocations: 0.6248 MB / 438.4 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2601, allocations: 12.03 kB / 438.4 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.403e-05/0.2602, allocations: 78.7 kB / 438.5 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.2604, allocations: 60.64 kB / 438.5 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.2608, allocations: 218.6 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.2608, allocations: 29.38 kB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.2609, allocations: 48.33 kB / 438.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.2617, allocations: 455.4 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2617, allocations: 0 / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.2617, allocations: 20 kB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2617, allocations: 8 kB / 439.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.2623, allocations: 283.9 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.2642, allocations: 1.267 MB / 440.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.2646, allocations: 219.4 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.265, allocations: 176.7 kB / 441.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.265, allocations: 0 / 441.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.2651, allocations: 42.55 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.2651, allocations: 0 / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001352/0.2664, allocations: 482.4 kB / 441.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.2666, allocations: 235.3 kB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.2668, allocations: 210.8 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.2668, allocations: 29.7 kB / 442.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.267, allocations: 212.6 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.267, allocations: 115 kB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.2671, allocations: 57.7 kB / 442.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2673, allocations: 334.8 kB / 442.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.2674, allocations: 79.95 kB / 443 MB, free: 11.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.2677, allocations: 160.9 kB / 443.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.268, allocations: 200.8 kB / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.268, allocations: 0 / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004611/0.2685, allocations: 277.1 kB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2685, allocations: 8.062 kB / 443.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2685, allocations: 0 / 443.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.2685, allocations: 11.94 kB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.2688, allocations: 83.89 kB / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2688, allocations: 0 / 443.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.269, allocations: 31.73 kB / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.269, allocations: 12 kB / 443.7 MB, free: 10.67 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.2692, allocations: 153.8 kB / 443.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.2693, allocations: 35.78 kB / 443.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.2693, allocations: 26.66 kB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2693, allocations: 0 / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.2693, allocations: 4 kB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2693, allocations: 3.984 kB / 444 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.2705, allocations: 0.7351 MB / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2705, allocations: 0 / 444.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.2707, allocations: 52 kB / 444.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.2711, allocations: 88.8 kB / 444.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.2711, allocations: 11.98 kB / 444.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.2733, allocations: 1.862 MB / 446.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2733, allocations: 4.031 kB / 446.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.2741, allocations: 0.4983 MB / 447.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2741, allocations: 31.84 kB / 447.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.2742, allocations: 8 kB / 447.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2743, allocations: 8 kB / 447.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.2744, allocations: 27.94 kB / 447.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2744, allocations: 19.88 kB / 447.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.2746, allocations: 144.6 kB / 447.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2746, allocations: 0 / 447.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003989/0.275, allocations: 107.8 kB / 447.5 MB, free: 6.652 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,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.001099/0.2761, allocations: 1.047 MB / 448.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.2765, allocations: 200.1 kB / 448.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2765, allocations: 0 / 448.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.2769, allocations: 262.6 kB / 449 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.2774, allocations: 36.11 kB / 449.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.281, allocations: 2.9 MB / 452 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2814, allocations: 0.7831 MB / 452.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.2815, allocations: 29.92 kB / 452.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2817, allocations: 99.41 kB / 452.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2817, allocations: 0 / 452.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03715/0.3188, allocations: 6.206 MB / 459.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.89, allocations: 12.23 kB / 459.1 MB, free: 11.05 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.227872288785875] Failed to read output from testmodel.py, exit status != 0: ['time', 'L1.iinternal', 'L2.iinternal', 'L3.iinternal'] 10.982824906241149 11.012062501 10.748475812 Calling exit ...