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.001668/0.001668, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.00213/0.00213, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.497/1.497, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.001938/0.001938, allocations: 71.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1038, allocations: 53.33 MB / 427 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005459/0.1092, allocations: 4.124 MB / 431.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.188/0.2972, allocations: 0.9575 MB / 432.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.2976, allocations: 12.56 kB / 432.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2979, allocations: 92.38 kB / 432.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.2982, allocations: 183.9 kB / 432.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.2987, allocations: 160 kB / 432.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000606/0.2993, allocations: 0.6781 MB / 433.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.2995, allocations: 146.9 kB / 433.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003133/0.2998, allocations: 272.7 kB / 433.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.3001, allocations: 292.3 kB / 433.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.3002, allocations: 55.97 kB / 434 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3003, allocations: 55.97 kB / 434 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.3003, allocations: 142.5 kB / 434.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.3005, allocations: 298 kB / 434.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.3011, allocations: 0.649 MB / 435.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3011, allocations: 0 / 435.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3011, allocations: 0 / 435.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3011, allocations: 5.141 kB / 435.1 MB, free: 7.086 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.001297/0.3024, allocations: 0.88 MB / 436 MB, free: 6.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3025, allocations: 9.312 kB / 436 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.3026, allocations: 110.1 kB / 436.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.3029, allocations: 88.11 kB / 436.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.3033, allocations: 389.7 kB / 436.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.3033, allocations: 39.5 kB / 436.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.3034, allocations: 55.98 kB / 436.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.3042, allocations: 0.5038 MB / 437.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3042, allocations: 0 / 437.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3043, allocations: 21.11 kB / 437.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.3043, allocations: 13.38 kB / 437.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006137/0.3049, allocations: 342.8 kB / 437.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.3073, allocations: 1.713 MB / 439.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.3077, allocations: 254.5 kB / 439.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.308, allocations: 131.2 kB / 439.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.308, allocations: 4.281 kB / 439.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.308, allocations: 41.53 kB / 439.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.308, allocations: 1.125 kB / 439.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001702/0.3097, allocations: 0.9719 MB / 440.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.3097, allocations: 88.64 kB / 440.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.3101, allocations: 386.2 kB / 441.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.3101, allocations: 35.05 kB / 441.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3103, allocations: 305.4 kB / 441.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.3104, allocations: 123.5 kB / 441.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.3105, allocations: 70.62 kB / 441.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.3105, allocations: 352 kB / 442 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.3107, allocations: 104 kB / 442.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.3109, allocations: 190.3 kB / 442.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.3114, allocations: 307.3 kB / 442.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3114, allocations: 1.375 kB / 442.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007534/0.3121, allocations: 450.8 kB / 443 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3121, allocations: 10.47 kB / 443 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3122, allocations: 7.125 kB / 443 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.3125, allocations: 81.61 kB / 443.1 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.3129, allocations: 85.62 kB / 443.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.3149, allocations: 3.121 MB / 446.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.3152, allocations: 17.47 kB / 446.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.3153, allocations: 15.81 kB / 446.4 MB, free: 15.31 MB / 366.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.0002176/0.3155, allocations: 168.6 kB / 446.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.3156, allocations: 49.22 kB / 446.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.3157, allocations: 46.06 kB / 446.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3157, allocations: 3.438 kB / 446.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3157, allocations: 3.125 kB / 446.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3157, allocations: 3.641 kB / 446.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.3171, allocations: 0.9548 MB / 447.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3171, allocations: 1.156 kB / 447.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.3173, allocations: 45.62 kB / 447.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/0.3176, allocations: 83.81 kB / 447.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3176, allocations: 7.844 kB / 447.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/0.3203, allocations: 3.12 MB / 450.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3203, allocations: 4.688 kB / 450.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.3213, allocations: 0.6203 MB / 451.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3214, allocations: 115.8 kB / 451.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.3215, allocations: 9.516 kB / 451.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.3218, allocations: 31.73 kB / 451.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.3219, allocations: 28.44 kB / 451.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3219, allocations: 12.14 kB / 451.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.3223, allocations: 273.9 kB / 451.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3223, allocations: 0 / 451.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007611/0.3231, allocations: 122.6 kB / 452 MB, free: 10.7 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.001563/0.3246, allocations: 1.166 MB / 453.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.3258, allocations: 0.4968 MB / 453.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3258, allocations: 1.062 kB / 453.7 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.3265, allocations: 380 kB / 454.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.327, allocations: 65.33 kB / 454.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/0.3332, allocations: 4.228 MB / 458.4 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.3338, allocations: 0.8461 MB / 459.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.334, allocations: 45.53 kB / 459.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.3343, allocations: 173.6 kB / 459.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3343, allocations: 1.281 kB / 459.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05324/0.3875, allocations: 9.12 MB / 468.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.52, allocations: 5.344 kB / 468.6 MB, free: 2.395 MB / 366.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: 13.133328018710017] Failed to read output from testmodel.py, exit status != 0: ['time', 'basicTransformer.i1', 'basicTransformer.i2', 'inductor22.i'] 10.602404661942273 10.615325343 10.311401904 Calling exit ...