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.001786/0.001786, 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.002124/0.002124, 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.501/1.501, 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.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.001939/0.001939, allocations: 68.77 kB / 378.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3296, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007024/0.3366, allocations: 5.137 MB / 437.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.3404, allocations: 1.854 MB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.3408, allocations: 16 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.3438, allocations: 1.186 MB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.3455, allocations: 0.6283 MB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.3469, allocations: 0.6077 MB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.348, allocations: 0.7583 MB / 442.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008698/0.3489, allocations: 0.5284 MB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.3493, allocations: 346.7 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.3499, allocations: 430.3 kB / 443.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.401e-05/0.35, allocations: 60 kB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005957/0.3506, allocations: 251.8 kB / 443.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.3507, allocations: 171.3 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.3511, allocations: 378.1 kB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.3524, allocations: 1.016 MB / 445.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.3524, allocations: 7.984 kB / 445.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3524, allocations: 3.938 kB / 445.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.3524, allocations: 0 / 445.3 MB, free: 9.457 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.003769/0.3562, allocations: 1.328 MB / 446.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3562, allocations: 11.97 kB / 446.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.3564, allocations: 123 kB / 446.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005641/0.362, allocations: 0.7887 MB / 447.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.3628, allocations: 361.9 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.3628, allocations: 58.38 kB / 447.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.363, allocations: 79.94 kB / 448 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.3645, allocations: 0.7687 MB / 448.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.3645, allocations: 11.95 kB / 448.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.3646, allocations: 28 kB / 448.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.3646, allocations: 20 kB / 448.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.3663, allocations: 0.9058 MB / 449.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.3705, allocations: 2.525 MB / 452.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.3723, allocations: 0.775 MB / 453 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.3728, allocations: 295.1 kB / 453.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.3729, allocations: 32.59 kB / 453.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.373, allocations: 43.22 kB / 453.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.305e-06/0.373, allocations: 0 / 453.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003571/0.3765, allocations: 1.255 MB / 454.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3766, allocations: 60.06 kB / 454.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.3769, allocations: 296.2 kB / 455 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.377, allocations: 37.7 kB / 455 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.3772, allocations: 300.6 kB / 455.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.3774, allocations: 265.6 kB / 455.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.3776, allocations: 126.6 kB / 455.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.3778, allocations: 354.7 kB / 456.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.3783, allocations: 233.9 kB / 456.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.3789, allocations: 366.5 kB / 456.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.38, allocations: 0.6297 MB / 457.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.38, allocations: 3.938 kB / 457.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001835/0.3818, allocations: 0.8607 MB / 458.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3818, allocations: 8 kB / 458.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3818, allocations: 8.188 kB / 458.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007877/0.3826, allocations: 204.6 kB / 458.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.3832, allocations: 135.8 kB / 458.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.3868, allocations: 2.598 MB / 461.1 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.3872, allocations: 75.48 kB / 461.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.3873, allocations: 28 kB / 461.2 MB, free: 9.086 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.0003286/0.3876, allocations: 197.7 kB / 461.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.3877, allocations: 55.7 kB / 461.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.3897, allocations: 0.8936 MB / 462.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.3897, allocations: 11.94 kB / 462.3 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3897, allocations: 4 kB / 462.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3897, allocations: 3.984 kB / 462.4 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.3926, allocations: 1.663 MB / 464 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3926, allocations: 0 / 464 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.3931, allocations: 119.8 kB / 464.1 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006913/0.3937, allocations: 200.7 kB / 464.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.3938, allocations: 19.98 kB / 464.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.3973, allocations: 2.597 MB / 467 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3973, allocations: 7.984 kB / 467 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.3996, allocations: 1.257 MB / 468.2 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.301e-05/0.3997, allocations: 59.55 kB / 468.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.3998, allocations: 12 kB / 468.3 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.4001, allocations: 31.92 kB / 468.3 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4002, allocations: 60.62 kB / 468.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.4003, allocations: 20 kB / 468.4 MB, free: 1.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.4005, allocations: 207.1 kB / 468.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4005, allocations: 4 kB / 468.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007955/0.4013, allocations: 243.5 kB / 468.8 MB, free: 1.23 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.002891/0.4042, allocations: 1.836 MB / 470.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.4059, allocations: 0.8046 MB / 471.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4059, allocations: 0 / 471.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009056/0.4068, allocations: 0.5183 MB / 472 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.4073, allocations: 60.95 kB / 472.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008036/0.4153, allocations: 5.07 MB / 477.1 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.4159, allocations: 0.893 MB / 478 MB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.4162, allocations: 80.53 kB / 478.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.4165, allocations: 223.3 kB / 478.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4165, allocations: 0 / 478.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0455/0.462, allocations: 13.02 MB / 491.3 MB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.5, allocations: 16.41 kB / 491.4 MB, free: 10.6 MB / 398.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.080030578188598] 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.594723883084953 11.616384118000001 11.259686134 Calling exit ...