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.001271/0.001271, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001473/0.001473, allocations: 219 kB / 23 MB, free: 5.609 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.396/1.396, allocations: 230.5 MB / 256.5 MB, free: 8.426 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.001898/0.001898, allocations: 67.88 kB / 376.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2758, allocations: 53.32 MB / 429.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005416/0.2812, allocations: 4.14 MB / 433.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.283, allocations: 0.958 MB / 434.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.2832, allocations: 15.94 kB / 434.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.2834, allocations: 91.06 kB / 434.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.2838, allocations: 190.4 kB / 435 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.2842, allocations: 167.7 kB / 435.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.2849, allocations: 0.6654 MB / 435.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.2852, allocations: 151 kB / 435.9 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.2855, allocations: 259 kB / 436.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.2859, allocations: 298.6 kB / 436.5 MB, free: 448 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.706e-05/0.286, allocations: 56 kB / 436.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2861, allocations: 60 kB / 436.6 MB, free: 332 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2862, allocations: 127.5 kB / 436.7 MB, free: 204 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.2865, allocations: 306.5 kB / 437 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.2871, allocations: 0.6538 MB / 437.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2871, allocations: 3.938 kB / 437.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2872, allocations: 0 / 437.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.2872, allocations: 0 / 437.7 MB, free: 15.24 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.001435/0.2886, allocations: 0.8839 MB / 438.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2886, allocations: 12.03 kB / 438.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.2888, allocations: 103.9 kB / 438.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/0.2891, allocations: 88.5 kB / 438.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.2896, allocations: 391.9 kB / 439.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.2897, allocations: 37.69 kB / 439.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.449e-05/0.2898, allocations: 52.33 kB / 439.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.2906, allocations: 0.4995 MB / 439.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2906, allocations: 0 / 439.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.2907, allocations: 28 kB / 439.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2907, allocations: 19.94 kB / 439.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/0.2913, allocations: 340.7 kB / 440.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.294, allocations: 1.71 MB / 441.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.2945, allocations: 253.1 kB / 442.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.2947, allocations: 133.7 kB / 442.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.2948, allocations: 4 kB / 442.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2948, allocations: 46.44 kB / 442.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.2948, allocations: 0 / 442.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001923/0.2967, allocations: 0.9747 MB / 443.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2968, allocations: 81.11 kB / 443.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.2972, allocations: 381.6 kB / 443.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2973, allocations: 37.69 kB / 443.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.2975, allocations: 300.1 kB / 444 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2976, allocations: 122.9 kB / 444.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.2977, allocations: 74.09 kB / 444.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2979, allocations: 350.8 kB / 444.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.2981, allocations: 104.8 kB / 444.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.2984, allocations: 194.6 kB / 444.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.2989, allocations: 303.5 kB / 445.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2989, allocations: 0 / 445.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008438/0.2997, allocations: 455.6 kB / 445.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2997, allocations: 4 kB / 445.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2997, allocations: 4 kB / 445.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.3001, allocations: 93.69 kB / 445.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.3004, allocations: 83.83 kB / 445.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.3032, allocations: 3.12 MB / 448.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.3034, allocations: 20.12 kB / 448.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.3035, allocations: 24 kB / 448.9 MB, free: 3.27 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.000209/0.3037, allocations: 161.8 kB / 449.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.3038, allocations: 47.66 kB / 449.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.873e-05/0.3039, allocations: 51.45 kB / 449.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3039, allocations: 7.938 kB / 449.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3039, allocations: 0 / 449.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3039, allocations: 0 / 449.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.3053, allocations: 0.9554 MB / 450.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3053, allocations: 0 / 450.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3055, allocations: 43.98 kB / 450.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.3059, allocations: 81.58 kB / 450.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3059, allocations: 15.98 kB / 450.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.3085, allocations: 3.123 MB / 453.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.3085, allocations: 12.03 kB / 453.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.3095, allocations: 0.6064 MB / 454 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3096, allocations: 112.9 kB / 454.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.3097, allocations: 15.98 kB / 454.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.31, allocations: 27.98 kB / 454.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.3101, allocations: 19.97 kB / 454.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.3101, allocations: 15.98 kB / 454.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.3104, allocations: 271.2 kB / 454.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3104, allocations: 4 kB / 454.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005824/0.311, allocations: 120 kB / 454.6 MB, free: 13.2 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.001288/0.3123, allocations: 1.169 MB / 455.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3133, allocations: 0.4999 MB / 456.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3133, allocations: 0 / 456.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.3139, allocations: 381.1 kB / 456.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.3144, allocations: 65.86 kB / 456.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/0.3206, allocations: 4.242 MB / 460.9 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.3211, allocations: 0.8392 MB / 461.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.3213, allocations: 47.39 kB / 461.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.3215, allocations: 175.3 kB / 462 MB, free: 5.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3215, allocations: 0 / 462 MB, free: 5.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.3784, allocations: 9.08 MB / 471.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.845/10.22, allocations: 15.25 kB / 471.1 MB, free: 12.59 MB / 382.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 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.59123067400651] Failed to read output from testmodel.py, exit status != 0: ['time', 'basicTransformer.i1', 'basicTransformer.i2', 'inductor22.i'] 10.310953014006373 10.33820055 10.045766667 Calling exit ...