Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001793/0.001793, 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.002258/0.002258, 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers",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.001928/0.001928, allocations: 68.77 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2802, allocations: 53.36 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005295/0.2855, allocations: 4.15 MB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.2873, allocations: 0.958 MB / 437.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.2875, allocations: 15.94 kB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.2878, allocations: 91.08 kB / 437.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.2881, allocations: 190.4 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.2885, allocations: 167.7 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.2891, allocations: 0.6693 MB / 438.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.2894, allocations: 151.7 kB / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.2897, allocations: 270.9 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.2901, allocations: 290.8 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.555e-05/0.2902, allocations: 52 kB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.2903, allocations: 60 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2904, allocations: 131.4 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.2906, allocations: 306.4 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006958/0.2913, allocations: 0.6543 MB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2913, allocations: 4 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2913, allocations: 0 / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2914, allocations: 0 / 440.1 MB, free: 14.7 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001378/0.2927, allocations: 0.8047 MB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2928, allocations: 8.031 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.2929, allocations: 104 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.2932, allocations: 84.5 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.2937, allocations: 338 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2938, allocations: 37.69 kB / 441.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.2938, allocations: 48.38 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008041/0.2946, allocations: 0.4917 MB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2946, allocations: 0 / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.2947, allocations: 27.94 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.2947, allocations: 23.92 kB / 442 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/0.2954, allocations: 340.4 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.298, allocations: 1.669 MB / 444 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.2984, allocations: 253.1 kB / 444.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.2986, allocations: 129.7 kB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.2987, allocations: 4 kB / 444.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.2987, allocations: 42.48 kB / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.343e-06/0.2987, allocations: 0 / 444.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001856/0.3006, allocations: 0.8273 MB / 445.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.3006, allocations: 85.11 kB / 445.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.3011, allocations: 385.6 kB / 445.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.3011, allocations: 37.7 kB / 445.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.3013, allocations: 308 kB / 446.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.3014, allocations: 119 kB / 446.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3015, allocations: 66.14 kB / 446.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3017, allocations: 350.8 kB / 446.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3019, allocations: 108.8 kB / 446.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.3022, allocations: 190.6 kB / 446.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.3026, allocations: 305.3 kB / 447.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3027, allocations: 0 / 447.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008418/0.3035, allocations: 449 kB / 447.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3035, allocations: 7.984 kB / 447.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3035, allocations: 4 kB / 447.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.3039, allocations: 85.75 kB / 447.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.3042, allocations: 75.91 kB / 447.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.3067, allocations: 2.928 MB / 450.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.307, allocations: 23.83 kB / 450.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.307, allocations: 16 kB / 450.8 MB, free: 3.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.3072, allocations: 169.8 kB / 450.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.3073, allocations: 51.66 kB / 451 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.319e-05/0.3074, allocations: 43.41 kB / 451 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3074, allocations: 4 kB / 451 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.3074, allocations: 4 kB / 451 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.3074, allocations: 3.984 kB / 451 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.3088, allocations: 0.9233 MB / 452 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3088, allocations: 0 / 452 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.309, allocations: 47.91 kB / 452 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.3092, allocations: 85.59 kB / 452.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3093, allocations: 4 kB / 452.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.3118, allocations: 2.932 MB / 455 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3118, allocations: 4.031 kB / 455 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.3127, allocations: 0.6069 MB / 455.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.3128, allocations: 47.69 kB / 455.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.3128, allocations: 15.92 kB / 455.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.3132, allocations: 27.98 kB / 455.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.3132, allocations: 23.95 kB / 455.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3132, allocations: 8 kB / 455.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.3135, allocations: 275.2 kB / 456 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3135, allocations: 4 kB / 456 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.3141, allocations: 120 kB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.3153, allocations: 1.167 MB / 457.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000895/0.3162, allocations: 0.5003 MB / 457.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3162, allocations: 0 / 457.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.3168, allocations: 373.2 kB / 458.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.3173, allocations: 61.8 kB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.323, allocations: 4.218 MB / 462.5 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.3234, allocations: 0.8432 MB / 463.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.3236, allocations: 47.22 kB / 463.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3238, allocations: 175.4 kB / 463.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3238, allocations: 3.938 kB / 463.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.3656, allocations: 9.327 MB / 472.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.52, allocations: 0 / 472.8 MB, free: 12.89 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.985234764870256] Failed to read output from testmodel.py, exit status != 0: ['time', 'basicTransformer.i1', 'basicTransformer.i2', 'inductor22.i'] 10.609341287054121 10.631792213 10.336268034 Calling exit ...