Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001416/0.001416, 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.001409/0.001409, 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.522/1.522, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",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.002002/0.002002, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1217, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.2451/0.3668, allocations: 5.105 MB / 432.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003508/0.3703, allocations: 1.853 MB / 434 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.3707, allocations: 17.56 kB / 434 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.3731, allocations: 1.185 MB / 435.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.3747, allocations: 0.6142 MB / 435.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.3759, allocations: 0.6159 MB / 436.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.3769, allocations: 0.7579 MB / 437.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.3776, allocations: 441.8 kB / 437.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.3781, allocations: 339.5 kB / 437.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.3786, allocations: 424.5 kB / 438.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3787, allocations: 62.53 kB / 438.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007047/0.3794, allocations: 262.1 kB / 438.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3795, allocations: 166.2 kB / 438.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.3798, allocations: 380.8 kB / 439.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.3813, allocations: 1.025 MB / 440.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3813, allocations: 0 / 440.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3813, allocations: 1.188 kB / 440.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.3813, allocations: 0 / 440.2 MB, free: 5.777 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004346/0.3857, allocations: 1.399 MB / 441.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3857, allocations: 9.719 kB / 441.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.3859, allocations: 127.5 kB / 441.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006029/0.3919, allocations: 0.7888 MB / 442.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009483/0.3929, allocations: 416 kB / 442.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/0.3929, allocations: 58.91 kB / 443 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.3931, allocations: 85.09 kB / 443.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3946, allocations: 0.7735 MB / 443.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.155e-05/0.3947, allocations: 5.141 kB / 443.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/0.3948, allocations: 32.02 kB / 443.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.3948, allocations: 18.81 kB / 443.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.3964, allocations: 0.9092 MB / 444.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.4006, allocations: 2.764 MB / 447.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.4025, allocations: 2.116 MB / 449.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.4032, allocations: 291.4 kB / 450 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.4034, allocations: 181.7 kB / 450.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.4034, allocations: 42.22 kB / 450.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.055e-06/0.4034, allocations: 0 / 450.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004071/0.4075, allocations: 1.344 MB / 451.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.4075, allocations: 60.22 kB / 451.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.4079, allocations: 298 kB / 451.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-05/0.408, allocations: 41.45 kB / 451.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.4082, allocations: 294 kB / 452.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.4085, allocations: 259.9 kB / 452.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.4087, allocations: 126.9 kB / 452.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4089, allocations: 357.1 kB / 453 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.4094, allocations: 237.2 kB / 453.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.41, allocations: 365.3 kB / 453.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.4111, allocations: 0.6303 MB / 454.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4111, allocations: 1.281 kB / 454.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00207/0.4132, allocations: 0.8679 MB / 455 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4132, allocations: 5.812 kB / 455.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4132, allocations: 5.203 kB / 455.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008637/0.4141, allocations: 207.2 kB / 455.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.4147, allocations: 130.8 kB / 455.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.4187, allocations: 2.721 MB / 458.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.4194, allocations: 72.14 kB / 458.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.4194, allocations: 28.02 kB / 458.2 MB, free: 10.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003966/0.4198, allocations: 198.5 kB / 458.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.42, allocations: 49.7 kB / 458.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.4221, allocations: 0.8876 MB / 459.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4221, allocations: 11.66 kB / 459.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4221, allocations: 7.625 kB / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4221, allocations: 3.141 kB / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.4253, allocations: 1.697 MB / 461.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4253, allocations: 0 / 461.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.4259, allocations: 106.8 kB / 461.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008336/0.4267, allocations: 200.5 kB / 461.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.4268, allocations: 21.52 kB / 461.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/0.4307, allocations: 2.708 MB / 464.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4308, allocations: 1.125 kB / 464.1 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.4334, allocations: 1.254 MB / 465.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.4336, allocations: 126.5 kB / 465.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.4337, allocations: 19.78 kB / 465.5 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.434, allocations: 27.83 kB / 465.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.4342, allocations: 62.02 kB / 465.6 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.4343, allocations: 32.52 kB / 465.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.4346, allocations: 203.2 kB / 465.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4346, allocations: 0 / 465.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009224/0.4355, allocations: 238 kB / 466 MB, free: 5.594 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002938/0.4384, allocations: 1.851 MB / 467.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.4403, allocations: 0.8108 MB / 468.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4403, allocations: 1.125 kB / 468.7 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4413, allocations: 0.5141 MB / 469.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.4419, allocations: 59.92 kB / 469.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/0.4505, allocations: 5.074 MB / 474.3 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.4512, allocations: 0.89 MB / 475.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004404/0.4517, allocations: 73.69 kB / 475.3 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.4521, allocations: 232.3 kB / 475.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.625e-06/0.4521, allocations: 0 / 475.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06491/0.517, allocations: 12.57 MB / 488.1 MB, free: 2.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.63, allocations: 14.59 kB / 488.1 MB, free: 2.758 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.28780312417075] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.pin_n1.reference.gamma', 'transformer.pin_n2.reference.gamma', 'currentSensor.abs_i', 'currentSensor.arg_i'] 11.724039637949318 11.740699018 11.355880171 Calling exit ...