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.SeriesResonance.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.001783/0.001783, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002217/0.002217, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.494/1.494, 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.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",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.00199/0.00199, allocations: 75.81 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 53.31 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005477/0.1174, allocations: 3.734 MB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2217/0.3391, allocations: 1.491 MB / 432.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.3394, allocations: 9.25 kB / 432.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.3412, allocations: 0.7545 MB / 432.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009325/0.3422, allocations: 390.7 kB / 433.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.3431, allocations: 0.5565 MB / 433.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004415/0.3435, allocations: 459.2 kB / 434.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.344, allocations: 306.6 kB / 434.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.3443, allocations: 204.7 kB / 434.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.3446, allocations: 267.2 kB / 435 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.3446, allocations: 41.62 kB / 435.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.345, allocations: 220.8 kB / 435.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.3451, allocations: 103.4 kB / 435.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.3453, allocations: 229.9 kB / 435.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007556/0.346, allocations: 0.6875 MB / 436.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.346, allocations: 1.219 kB / 436.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.346, allocations: 0 / 436.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.346, allocations: 1.125 kB / 436.3 MB, free: 7.027 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.001951/0.348, allocations: 0.9164 MB / 437.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.348, allocations: 9.875 kB / 437.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.3482, allocations: 100.8 kB / 437.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003496/0.3516, allocations: 470.9 kB / 437.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.3522, allocations: 309 kB / 438.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.3522, allocations: 44.41 kB / 438.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.3523, allocations: 55.66 kB / 438.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/0.3532, allocations: 0.5238 MB / 438.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.3533, allocations: 0.875 kB / 438.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.3533, allocations: 24.56 kB / 438.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3533, allocations: 13.38 kB / 438.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.3543, allocations: 0.5705 MB / 439.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.357, allocations: 1.962 MB / 441.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.3587, allocations: 2.138 MB / 443.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.359, allocations: 188.3 kB / 443.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.3591, allocations: 174.7 kB / 443.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3592, allocations: 38.91 kB / 443.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.184e-06/0.3592, allocations: 0 / 443.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002002/0.3612, allocations: 0.7954 MB / 444.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.3612, allocations: 57.59 kB / 444.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3614, allocations: 195.1 kB / 444.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3614, allocations: 35.77 kB / 444.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.3615, allocations: 219.4 kB / 445.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.3616, allocations: 173.1 kB / 445.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3617, allocations: 82.19 kB / 445.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.4e-05/0.3618, allocations: 340.5 kB / 445.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.362, allocations: 152.7 kB / 445.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.3624, allocations: 230.6 kB / 446 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.363, allocations: 403 kB / 446.4 MB, free: 284 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.363, allocations: 3.812 kB / 446.4 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009627/0.3639, allocations: 0.5355 MB / 447 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.364, allocations: 6.281 kB / 447 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.364, allocations: 3.359 kB / 447 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.3643, allocations: 89.05 kB / 447.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.3647, allocations: 91.98 kB / 447.2 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.3671, allocations: 2.032 MB / 449.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.3674, allocations: 51.5 kB / 449.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.3675, allocations: 20.92 kB / 449.3 MB, free: 14.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.3677, allocations: 166.7 kB / 449.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.3678, allocations: 31.78 kB / 449.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3691, allocations: 0.5396 MB / 450 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3691, allocations: 9.719 kB / 450 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3691, allocations: 1.125 kB / 450 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3691, allocations: 5.484 kB / 450 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.3711, allocations: 1.126 MB / 451.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3711, allocations: 10.03 kB / 451.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.3714, allocations: 78.27 kB / 451.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.3717, allocations: 88.41 kB / 451.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.3717, allocations: 11.56 kB / 451.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/0.374, allocations: 2.039 MB / 453.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.374, allocations: 0 / 453.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3755, allocations: 0.7918 MB / 454.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3757, allocations: 110.2 kB / 454.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.3757, allocations: 11.75 kB / 454.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.3759, allocations: 18.3 kB / 454.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.376, allocations: 38.84 kB / 454.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.3761, allocations: 14.34 kB / 454.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.3762, allocations: 140 kB / 454.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3762, allocations: 0 / 454.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.3769, allocations: 153.9 kB / 454.6 MB, free: 10.55 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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002032/0.379, allocations: 1.384 MB / 456 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.3802, allocations: 0.5395 MB / 456.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3802, allocations: 448 / 456.6 MB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.3808, allocations: 358 kB / 456.9 MB, free: 9.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3812, allocations: 35.11 kB / 456.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.3866, allocations: 3.403 MB / 460.3 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.3871, allocations: 0.8094 MB / 461.2 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.3873, allocations: 47.95 kB / 461.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.3875, allocations: 136.2 kB / 461.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3875, allocations: 1.344 kB / 461.3 MB, free: 6.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04111/0.4286, allocations: 7.777 MB / 469.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.66, allocations: 1.531 kB / 469.1 MB, free: 2.98 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.101235377136618] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.pin_p.reference.gamma'] 10.750806796830148 10.778518924 10.427365328 Calling exit ...