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.ParallelResonance.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.001497/0.001497, allocations: 113.3 kB / 20.22 MB, free: 1.793 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.00139/0.00139, allocations: 209.8 kB / 23.48 MB, free: 5.227 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.425/1.425, allocations: 230.4 MB / 257 MB, free: 8.266 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.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",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.001871/0.001871, allocations: 67.89 kB / 377.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 53.31 MB / 430.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005231/0.2704, allocations: 3.736 MB / 434.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.2731, allocations: 1.522 MB / 435.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.2733, allocations: 8 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.2751, allocations: 0.7493 MB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009422/0.276, allocations: 401.9 kB / 436.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.2771, allocations: 0.5588 MB / 437.4 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005358/0.2776, allocations: 458 kB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006359/0.2783, allocations: 378.2 kB / 438.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.2786, allocations: 215.2 kB / 438.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.2789, allocations: 270.9 kB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.417e-05/0.279, allocations: 44 kB / 438.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.2794, allocations: 219.8 kB / 438.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/0.2795, allocations: 107.6 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.2797, allocations: 238.9 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008623/0.2806, allocations: 0.7082 MB / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2806, allocations: 0 / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2806, allocations: 0 / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.2806, allocations: 4 kB / 440 MB, free: 13.64 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002114/0.2827, allocations: 0.92 MB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2828, allocations: 12.03 kB / 440.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001486/0.2829, allocations: 99.97 kB / 441 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.2863, allocations: 472.2 kB / 441.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.2868, allocations: 310.6 kB / 441.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.2868, allocations: 37.69 kB / 441.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2869, allocations: 60.33 kB / 441.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009831/0.2879, allocations: 0.5412 MB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2879, allocations: 4 kB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.288, allocations: 24 kB / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.288, allocations: 12 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.289, allocations: 0.5829 MB / 443 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.292, allocations: 1.954 MB / 445 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.2942, allocations: 2.127 MB / 447.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.2946, allocations: 229 kB / 447.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.2948, allocations: 178.6 kB / 447.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2948, allocations: 39 kB / 447.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/0.2948, allocations: 4 kB / 447.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001755/0.2966, allocations: 0.7543 MB / 448.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2966, allocations: 55.84 kB / 448.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.2968, allocations: 186.3 kB / 448.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.2969, allocations: 33.7 kB / 448.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.297, allocations: 229 kB / 448.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.2971, allocations: 170.5 kB / 448.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.2973, allocations: 82.25 kB / 449 MB, free: 3.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2974, allocations: 334.8 kB / 449.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.2977, allocations: 157 kB / 449.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.2981, allocations: 238.6 kB / 449.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.2988, allocations: 424.8 kB / 450.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2988, allocations: 4 kB / 450.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001012/0.2998, allocations: 0.5358 MB / 450.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2998, allocations: 8 kB / 450.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2998, allocations: 4 kB / 450.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.3002, allocations: 76.75 kB / 450.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.3005, allocations: 99.88 kB / 450.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.3024, allocations: 1.782 MB / 452.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.3026, allocations: 47.66 kB / 452.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.3027, allocations: 20 kB / 452.7 MB, free: 15.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.3029, allocations: 161.8 kB / 452.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.303, allocations: 27.81 kB / 452.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.3041, allocations: 0.5473 MB / 453.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3041, allocations: 4 kB / 453.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3041, allocations: 3.938 kB / 453.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3041, allocations: 0 / 453.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.3059, allocations: 1.144 MB / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3059, allocations: 4 kB / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.3062, allocations: 75.89 kB / 454.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.3065, allocations: 80.8 kB / 454.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.3065, allocations: 8.062 kB / 454.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.3083, allocations: 1.775 MB / 456.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.3083, allocations: 4.031 kB / 456.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3096, allocations: 0.8029 MB / 457.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.3097, allocations: 112.9 kB / 457.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.3097, allocations: 8 kB / 457.5 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.31, allocations: 27.98 kB / 457.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.31, allocations: 40.39 kB / 457.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3101, allocations: 16 kB / 457.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3102, allocations: 132.2 kB / 457.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3102, allocations: 0 / 457.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.3107, allocations: 151.6 kB / 457.8 MB, free: 10.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * 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: 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001842/0.3126, allocations: 1.386 MB / 459.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3137, allocations: 0.5541 MB / 459.8 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3137, allocations: 0 / 459.8 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.3142, allocations: 357.6 kB / 460.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3146, allocations: 39.92 kB / 460.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.3194, allocations: 3.437 MB / 463.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.32, allocations: 0.8045 MB / 464.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.3201, allocations: 50.94 kB / 464.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.3203, allocations: 135.4 kB / 464.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3203, allocations: 0 / 464.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/0.371, allocations: 7.759 MB / 472.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.71, allocations: 3.375 kB / 472.3 MB, free: 11.91 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.98299918603152] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.pin_p.reference.gamma'] 10.796579061774537 10.812515388 10.52868669 Calling exit ...