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.001286/0.001286, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001445/0.001445, allocations: 212.4 kB / 24.54 MB, free: 4.016 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.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001926/0.001926, allocations: 64.77 kB / 378.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2926, allocations: 53.38 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005506/0.2981, allocations: 3.75 MB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.3009, allocations: 1.522 MB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.3011, allocations: 12 kB / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.303, allocations: 0.7428 MB / 437.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.304, allocations: 409.5 kB / 438.3 MB, free: 480 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.3051, allocations: 0.5503 MB / 438.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.3056, allocations: 458.1 kB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007124/0.3063, allocations: 437.7 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.3067, allocations: 223.1 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.307, allocations: 275 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.337e-05/0.3071, allocations: 44 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.3075, allocations: 219.8 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.252e-05/0.3076, allocations: 107.6 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3079, allocations: 238.8 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008874/0.3088, allocations: 0.7016 MB / 441.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3088, allocations: 8 kB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3088, allocations: 0 / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3088, allocations: 0 / 441.6 MB, free: 13.24 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.002078/0.3109, allocations: 0.8486 MB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3109, allocations: 8.031 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.3111, allocations: 103.9 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.3144, allocations: 472.2 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.3149, allocations: 256.1 kB / 443.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.3149, allocations: 41.69 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-05/0.315, allocations: 60.31 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3161, allocations: 0.5296 MB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.3161, allocations: 3.938 kB / 443.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.477e-05/0.3161, allocations: 24 kB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.3162, allocations: 12 kB / 443.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3172, allocations: 0.5868 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.3203, allocations: 1.739 MB / 446.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.3217, allocations: 0.5546 MB / 446.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.3222, allocations: 237.9 kB / 447 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/0.3223, allocations: 32.39 kB / 447 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3223, allocations: 31 kB / 447.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.943e-06/0.3223, allocations: 0 / 447.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001806/0.3242, allocations: 0.6674 MB / 447.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3242, allocations: 55.84 kB / 447.8 MB, free: 6.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3244, allocations: 186.3 kB / 448 MB, free: 6.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.3244, allocations: 33.7 kB / 448 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.3246, allocations: 229 kB / 448.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3247, allocations: 166.5 kB / 448.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3249, allocations: 86.17 kB / 448.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.325, allocations: 342.8 kB / 448.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002985/0.3253, allocations: 152.9 kB / 449 MB, free: 5.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.3257, allocations: 241.9 kB / 449.2 MB, free: 5.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/0.3264, allocations: 416.9 kB / 449.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3264, allocations: 0 / 449.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001066/0.3275, allocations: 0.5316 MB / 450.1 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3275, allocations: 4 kB / 450.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3275, allocations: 4 kB / 450.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003854/0.3279, allocations: 89.08 kB / 450.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.3283, allocations: 99.81 kB / 450.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.3302, allocations: 1.674 MB / 452 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.3304, allocations: 47.8 kB / 452.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.3305, allocations: 19.98 kB / 452.1 MB, free: 2.324 MB / 350.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.0002388/0.3307, allocations: 169.7 kB / 452.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.3308, allocations: 23.86 kB / 452.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.3319, allocations: 0.5316 MB / 452.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.3319, allocations: 4 kB / 452.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.3319, allocations: 15.92 kB / 452.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3319, allocations: 0 / 452.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.3337, allocations: 1.108 MB / 453.9 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3337, allocations: 7.969 kB / 453.9 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.334, allocations: 79.89 kB / 454 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.3343, allocations: 80.73 kB / 454.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.3343, allocations: 12 kB / 454.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.3362, allocations: 1.674 MB / 455.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3362, allocations: 0 / 455.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3376, allocations: 0.8108 MB / 456.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.3376, allocations: 27.77 kB / 456.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.3377, allocations: 8 kB / 456.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3379, allocations: 19.98 kB / 456.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.338, allocations: 48.23 kB / 456.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.338, allocations: 15.94 kB / 456.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3381, allocations: 140.3 kB / 456.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3381, allocations: 0 / 456.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005325/0.3387, allocations: 151.7 kB / 457 MB, free: 13.19 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.001851/0.3405, allocations: 1.383 MB / 458.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3416, allocations: 0.5466 MB / 458.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3416, allocations: 0 / 458.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.3422, allocations: 352.9 kB / 459.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3426, allocations: 39.89 kB / 459.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.3479, allocations: 3.456 MB / 462.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3484, allocations: 0.8084 MB / 463.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.3485, allocations: 46.95 kB / 463.6 MB, free: 6.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.3488, allocations: 139.4 kB / 463.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3488, allocations: 0 / 463.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.3871, allocations: 8.032 MB / 471.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.92, allocations: 6.172 kB / 471.8 MB, free: 14.29 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: 13.267926663160324] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.pin_p.reference.gamma'] 11.00811983505264 11.028487792 10.715697145 Calling exit ...