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.001782/0.001782, allocations: 109 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.002278/0.002278, allocations: 213.9 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001962/0.001962, allocations: 64.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007579/0.3336, allocations: 5.141 MB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.3374, allocations: 1.854 MB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004639/0.3379, allocations: 23.94 kB / 438.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.3408, allocations: 1.178 MB / 440.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.3427, allocations: 0.6289 MB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.3441, allocations: 0.6158 MB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3454, allocations: 0.7544 MB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000932/0.3463, allocations: 0.5312 MB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005522/0.3468, allocations: 338.7 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.3474, allocations: 422.4 kB / 443.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.3475, allocations: 60 kB / 443.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.3481, allocations: 263.7 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3483, allocations: 167.4 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.3487, allocations: 382.1 kB / 444.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.3503, allocations: 1.021 MB / 445.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3503, allocations: 4 kB / 445.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3503, allocations: 0 / 445.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3503, allocations: 0 / 445.3 MB, free: 9.5 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.00386/0.3541, allocations: 1.336 MB / 446.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3542, allocations: 8.031 kB / 446.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.3544, allocations: 127 kB / 446.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.36, allocations: 0.7848 MB / 447.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.3608, allocations: 354 kB / 447.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/0.3609, allocations: 62.38 kB / 447.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.3611, allocations: 83.86 kB / 448 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.3626, allocations: 0.7687 MB / 448.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3626, allocations: 7.953 kB / 448.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/0.3627, allocations: 32 kB / 448.8 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3627, allocations: 20 kB / 448.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.3645, allocations: 0.9058 MB / 449.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.3689, allocations: 2.529 MB / 452.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.3707, allocations: 0.7672 MB / 453 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.3713, allocations: 299.1 kB / 453.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3714, allocations: 28.62 kB / 453.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.3715, allocations: 39.22 kB / 453.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.585e-06/0.3715, allocations: 0 / 453.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003677/0.3752, allocations: 1.263 MB / 454.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.3752, allocations: 60.06 kB / 454.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.3756, allocations: 292.2 kB / 455 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.3756, allocations: 45.64 kB / 455.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.3759, allocations: 292.6 kB / 455.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.3761, allocations: 269.7 kB / 455.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3763, allocations: 118.6 kB / 455.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3765, allocations: 362.7 kB / 456.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.377, allocations: 233.9 kB / 456.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.3776, allocations: 358.5 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3787, allocations: 0.6337 MB / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3787, allocations: 4 kB / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001908/0.3806, allocations: 0.8569 MB / 458.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3806, allocations: 8 kB / 458.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.3806, allocations: 4 kB / 458.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.3814, allocations: 215.6 kB / 458.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/0.382, allocations: 135.7 kB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.3856, allocations: 2.598 MB / 461.1 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/0.3861, allocations: 79.48 kB / 461.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.3861, allocations: 27.98 kB / 461.2 MB, free: 9.117 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.0003245/0.3864, allocations: 205.6 kB / 461.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3865, allocations: 47.67 kB / 461.5 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.3885, allocations: 0.882 MB / 462.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3885, allocations: 11.94 kB / 462.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3885, allocations: 4 kB / 462.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3885, allocations: 7.984 kB / 462.4 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.3915, allocations: 1.663 MB / 464 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3915, allocations: 7.938 kB / 464 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.392, allocations: 119.8 kB / 464.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000711/0.3927, allocations: 200.7 kB / 464.3 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3927, allocations: 16 kB / 464.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/0.3964, allocations: 2.601 MB / 467 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3964, allocations: 0 / 467 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.3988, allocations: 1.261 MB / 468.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3989, allocations: 51.56 kB / 468.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.399, allocations: 16 kB / 468.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.3993, allocations: 35.98 kB / 468.3 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3994, allocations: 56.53 kB / 468.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.3995, allocations: 27.98 kB / 468.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002298/0.3997, allocations: 203.1 kB / 468.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3997, allocations: 0 / 468.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000825/0.4005, allocations: 239.5 kB / 468.8 MB, free: 1.273 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.002968/0.4035, allocations: 1.844 MB / 470.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.4053, allocations: 0.8052 MB / 471.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4053, allocations: 4.125 kB / 471.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009233/0.4062, allocations: 0.5098 MB / 472 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.4068, allocations: 74.58 kB / 472.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.4154, allocations: 5.067 MB / 477.1 MB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.4161, allocations: 0.8853 MB / 478 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003411/0.4164, allocations: 80.52 kB / 478.1 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.4168, allocations: 223.3 kB / 478.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of SimCode: time 1.964e-06/0.4168, allocations: 3.938 kB / 478.3 MB, free: 7.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05184/0.4686, allocations: 13.01 MB / 491.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.52, allocations: 14.94 kB / 491.3 MB, free: 10.65 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --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.914839121047407] 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.61478108074516 11.644620027 11.288387837 Calling exit ...