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.001323/0.001323, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001393/0.001393, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.518/1.518, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.00196/0.00196, allocations: 71.81 kB / 373.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1153, allocations: 53.31 MB / 426.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005752/0.1211, allocations: 3.731 MB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2207/0.3418, allocations: 1.491 MB / 432.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.3421, allocations: 9.375 kB / 432.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.3438, allocations: 0.7579 MB / 432.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009233/0.3448, allocations: 389.5 kB / 433.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009559/0.3457, allocations: 0.5537 MB / 433.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.3461, allocations: 460.5 kB / 434.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005292/0.3467, allocations: 371.4 kB / 434.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.347, allocations: 223 kB / 434.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.3472, allocations: 273.2 kB / 435.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.3473, allocations: 48.97 kB / 435.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.3477, allocations: 216.9 kB / 435.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.3478, allocations: 109 kB / 435.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.348, allocations: 237.3 kB / 435.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.3488, allocations: 0.7063 MB / 436.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3488, allocations: 1.406 kB / 436.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3488, allocations: 0 / 436.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.3489, allocations: 2.906 kB / 436.4 MB, free: 6.598 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.00213/0.351, allocations: 0.9252 MB / 437.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.351, allocations: 9.875 kB / 437.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.3512, allocations: 102.6 kB / 437.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/0.3547, allocations: 467.9 kB / 437.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.3552, allocations: 311.8 kB / 438.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.3553, allocations: 40.09 kB / 438.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.3554, allocations: 58 kB / 438.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3565, allocations: 0.5356 MB / 438.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.3565, allocations: 1.75 kB / 438.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.3565, allocations: 23.75 kB / 438.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.3566, allocations: 17.53 kB / 438.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3576, allocations: 0.5827 MB / 439.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.3606, allocations: 1.962 MB / 441.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.3628, allocations: 2.115 MB / 443.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.3633, allocations: 238.4 kB / 443.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.3635, allocations: 175.2 kB / 443.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.3635, allocations: 34.25 kB / 444 MB, free: 1.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.835e-06/0.3635, allocations: 0.5312 kB / 444 MB, free: 1.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00193/0.3654, allocations: 0.7519 MB / 444.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.3654, allocations: 57.3 kB / 444.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3657, allocations: 187.5 kB / 445 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3657, allocations: 35.89 kB / 445 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3658, allocations: 223.7 kB / 445.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.366, allocations: 165.5 kB / 445.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3661, allocations: 89.92 kB / 445.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.3662, allocations: 336 kB / 445.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.3665, allocations: 154 kB / 446 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3668, allocations: 243 kB / 446.2 MB, free: 300 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.3674, allocations: 418.2 kB / 446.6 MB, free: 44 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3675, allocations: 6.25 kB / 446.6 MB, free: 40 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001212/0.3687, allocations: 0.548 MB / 447.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3687, allocations: 5.312 kB / 447.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3687, allocations: 2.719 kB / 447.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/0.3691, allocations: 85.27 kB / 447.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.3695, allocations: 95.89 kB / 447.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.3717, allocations: 1.779 MB / 449.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.372, allocations: 46.92 kB / 449.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.372, allocations: 23.89 kB / 449.2 MB, free: 14.18 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.0002535/0.3723, allocations: 167 kB / 449.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.3724, allocations: 32.66 kB / 449.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3736, allocations: 0.5341 MB / 449.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.3736, allocations: 5.062 kB / 449.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3736, allocations: 1.031 kB / 449.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3736, allocations: 7.734 kB / 449.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.3757, allocations: 1.144 MB / 451.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3757, allocations: 0 / 451.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.376, allocations: 85.14 kB / 451.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.3764, allocations: 74.61 kB / 451.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.3764, allocations: 14.86 kB / 451.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.3788, allocations: 1.768 MB / 453 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.3788, allocations: 9.188 kB / 453 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.3805, allocations: 0.8053 MB / 453.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.3806, allocations: 107.4 kB / 453.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.3806, allocations: 12.27 kB / 453.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.3809, allocations: 19.62 kB / 454 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.381, allocations: 38.22 kB / 454 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.381, allocations: 16.64 kB / 454 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.3812, allocations: 134.5 kB / 454.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 1.031 kB / 454.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006507/0.3818, allocations: 160.8 kB / 454.3 MB, free: 10.74 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.001993/0.3838, allocations: 1.379 MB / 455.7 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3852, allocations: 0.5505 MB / 456.2 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3852, allocations: 4 kB / 456.2 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.3859, allocations: 363.8 kB / 456.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3864, allocations: 29.92 kB / 456.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.3923, allocations: 3.442 MB / 460.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.393, allocations: 0.8114 MB / 460.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.3932, allocations: 47.7 kB / 460.9 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.3935, allocations: 138.7 kB / 461.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of SimCode: time 1.864e-06/0.3935, allocations: 0 / 461.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/0.4362, allocations: 7.762 MB / 468.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.74, allocations: 9.734 kB / 468.8 MB, free: 3.125 MB / 366.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.149718103930354] Failed to read output from testmodel.py, exit status != 0: ['time', 'resistor.pin_p.reference.gamma'] 10.823783722706139 10.843165438 10.49033026 Calling exit ...