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.001333/0.001333, allocations: 118.7 kB / 18.5 MB, free: 4.602 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: 210.5 kB / 21.46 MB, free: 1.648 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.533/1.533, allocations: 230.5 MB / 254.7 MB, free: 15.21 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.001911/0.001911, allocations: 67.83 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1163, allocations: 53.32 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.2497/0.366, allocations: 5.1 MB / 432 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.3693, allocations: 1.858 MB / 433.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.3696, allocations: 12.91 kB / 433.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.3719, allocations: 1.187 MB / 435.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.3734, allocations: 0.6207 MB / 435.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3745, allocations: 0.604 MB / 436.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009389/0.3754, allocations: 0.7566 MB / 437 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006989/0.3761, allocations: 442.8 kB / 437.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.3766, allocations: 331.3 kB / 437.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.3771, allocations: 426.4 kB / 438.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3772, allocations: 62.81 kB / 438.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006871/0.3779, allocations: 254.8 kB / 438.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.378, allocations: 169.1 kB / 438.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.3783, allocations: 378.4 kB / 439 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.3798, allocations: 1.031 MB / 440.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3798, allocations: 1.734 kB / 440.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3798, allocations: 0 / 440.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.3798, allocations: 0 / 440.1 MB, free: 5.828 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.004068/0.3839, allocations: 1.4 MB / 441.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3839, allocations: 14.45 kB / 441.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.3841, allocations: 127 kB / 441.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005765/0.3899, allocations: 0.7867 MB / 442.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008401/0.3907, allocations: 417.9 kB / 442.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/0.3908, allocations: 59.28 kB / 442.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.391, allocations: 83.28 kB / 443 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.3924, allocations: 0.7712 MB / 443.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.3925, allocations: 6.141 kB / 443.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.3925, allocations: 31.16 kB / 443.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.3925, allocations: 22.66 kB / 443.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.3941, allocations: 0.9055 MB / 444.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003968/0.3981, allocations: 2.761 MB / 447.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.4001, allocations: 2.119 MB / 449.6 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/0.4007, allocations: 290.4 kB / 449.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.4009, allocations: 189.9 kB / 450 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4009, allocations: 38.5 kB / 450.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.116e-06/0.4009, allocations: 0 / 450.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003814/0.4048, allocations: 1.341 MB / 451.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.4048, allocations: 64.48 kB / 451.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.4052, allocations: 293.3 kB / 451.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/0.4053, allocations: 36.11 kB / 451.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.4055, allocations: 298.3 kB / 452.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.4058, allocations: 261.4 kB / 452.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.406, allocations: 126.5 kB / 452.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4062, allocations: 358.3 kB / 452.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.4067, allocations: 240.4 kB / 453.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.4073, allocations: 359.6 kB / 453.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.4084, allocations: 0.6271 MB / 454 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.4084, allocations: 1.375 kB / 454 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001939/0.4103, allocations: 0.866 MB / 454.9 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4104, allocations: 12 kB / 454.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4104, allocations: 2.812 kB / 454.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008352/0.4112, allocations: 218.5 kB / 455.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.4118, allocations: 131.8 kB / 455.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/0.4154, allocations: 2.712 MB / 458 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.416, allocations: 72.36 kB / 458 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.4161, allocations: 35.72 kB / 458.1 MB, free: 10.74 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.0003995/0.4165, allocations: 192.1 kB / 458.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.4166, allocations: 50.02 kB / 458.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.4185, allocations: 0.8933 MB / 459.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4186, allocations: 11.53 kB / 459.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4186, allocations: 2.781 kB / 459.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4186, allocations: 5.016 kB / 459.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/0.4215, allocations: 1.69 MB / 460.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4215, allocations: 0 / 460.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.4219, allocations: 119.3 kB / 461 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006959/0.4226, allocations: 199.3 kB / 461.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.4227, allocations: 17.25 kB / 461.2 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/0.4262, allocations: 2.706 MB / 463.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4262, allocations: 1.406 kB / 463.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.4288, allocations: 1.264 MB / 465.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.429, allocations: 130.7 kB / 465.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.4291, allocations: 11.81 kB / 465.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.4294, allocations: 35.27 kB / 465.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4296, allocations: 59.36 kB / 465.4 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.4296, allocations: 23.48 kB / 465.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002557/0.4299, allocations: 206.1 kB / 465.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4299, allocations: 1.344 kB / 465.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.4308, allocations: 234 kB / 465.9 MB, free: 5.73 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.002909/0.4337, allocations: 1.842 MB / 467.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001784/0.4355, allocations: 0.8161 MB / 468.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4355, allocations: 0 / 468.6 MB, free: 3.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009577/0.4364, allocations: 0.5148 MB / 469.1 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.437, allocations: 57.19 kB / 469.1 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008189/0.4452, allocations: 5.077 MB / 474.2 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.4458, allocations: 0.8897 MB / 475.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.4461, allocations: 79.33 kB / 475.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.4465, allocations: 223.3 kB / 475.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4465, allocations: 5.531 kB / 475.4 MB, free: 15.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04802/0.4945, allocations: 12.57 MB / 488 MB, free: 2.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.24, allocations: 12.64 kB / 488 MB, free: 2.918 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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: 13.649830805137753] Failed to read output from testmodel.py, exit status != 0: 11.32876784261316 11.347951642 10.964229328 Calling exit ...