Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.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.001308/0.001308, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001313/0.001313, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.454/1.454, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Rectifier",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: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 53.32 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005609/0.1113, allocations: 4.302 MB / 431.3 MB, free: 472 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2146/0.3259, allocations: 1.011 MB / 432.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.3262, allocations: 13.25 kB / 432.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3265, allocations: 102.7 kB / 432.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.3269, allocations: 197.9 kB / 432.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.3273, allocations: 187.8 kB / 432.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.328, allocations: 0.7361 MB / 433.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.3283, allocations: 153.7 kB / 433.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.3287, allocations: 307.8 kB / 434 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.329, allocations: 330.7 kB / 434.3 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.665e-05/0.329, allocations: 58.88 kB / 434.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3292, allocations: 62.28 kB / 434.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.3293, allocations: 149.9 kB / 434.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.3296, allocations: 331.6 kB / 434.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.3303, allocations: 0.7203 MB / 435.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3303, allocations: 3.125 kB / 435.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3303, allocations: 1.375 kB / 435.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3303, allocations: 0 / 435.7 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001397/0.3317, allocations: 0.9367 MB / 436.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3317, allocations: 8.906 kB / 436.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.3319, allocations: 112.1 kB / 436.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.3322, allocations: 98.67 kB / 436.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.3328, allocations: 405.9 kB / 437.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3328, allocations: 43.14 kB / 437.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.52e-05/0.3329, allocations: 57.52 kB / 437.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.3339, allocations: 0.5784 MB / 437.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3339, allocations: 3.938 kB / 437.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.334, allocations: 21.75 kB / 437.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.334, allocations: 12.94 kB / 437.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.3349, allocations: 466.2 kB / 438.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.3377, allocations: 2.084 MB / 440.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.3385, allocations: 0.59 MB / 441 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.3391, allocations: 369.9 kB / 441.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.3392, allocations: 6.922 kB / 441.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.3392, allocations: 38.38 kB / 441.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.185e-06/0.3392, allocations: 0 / 441.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004433/0.3436, allocations: 2.031 MB / 443.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.3436, allocations: 58.55 kB / 443.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.344, allocations: 367.3 kB / 443.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.344, allocations: 35.98 kB / 443.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3442, allocations: 247.9 kB / 444.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3443, allocations: 211.7 kB / 444.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3444, allocations: 91.03 kB / 444.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.3445, allocations: 359.9 kB / 444.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.3448, allocations: 168.9 kB / 445 MB, free: 1.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.3452, allocations: 213.4 kB / 445.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.3458, allocations: 386.8 kB / 445.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3458, allocations: 5.281 kB / 445.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001201/0.347, allocations: 0.6555 MB / 446.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3471, allocations: 9.594 kB / 446.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3471, allocations: 1.594 kB / 446.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007467/0.3478, allocations: 254.5 kB / 446.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.3481, allocations: 60.59 kB / 446.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007533/0.3556, allocations: 7.499 MB / 454.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.3561, allocations: 17.94 kB / 454.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.3561, allocations: 20.28 kB / 454.1 MB, free: 9.895 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003334/0.3564, allocations: 174.9 kB / 454.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3565, allocations: 57.17 kB / 454.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.3567, allocations: 68.11 kB / 454.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3567, allocations: 6.109 kB / 454.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3567, allocations: 2.375 kB / 454.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3567, allocations: 6.812 kB / 454.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.3592, allocations: 1.336 MB / 455.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.3592, allocations: 9.312 kB / 455.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.3595, allocations: 55.5 kB / 455.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007514/0.3603, allocations: 253.2 kB / 456 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.3603, allocations: 20.72 kB / 456.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007961/0.3683, allocations: 7.519 MB / 463.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3683, allocations: 0 / 463.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.3704, allocations: 1.022 MB / 464.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.3707, allocations: 163 kB / 464.8 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.3708, allocations: 11.69 kB / 464.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.371, allocations: 18.2 kB / 464.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.3712, allocations: 48.41 kB / 464.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3713, allocations: 16 kB / 464.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003972/0.3717, allocations: 268.2 kB / 465.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3717, allocations: 0 / 465.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001046/0.3727, allocations: 178.4 kB / 465.3 MB, free: 1.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/0.375, allocations: 1.577 MB / 466.9 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.377, allocations: 1.023 MB / 467.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.377, allocations: 3.938 kB / 467.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.3783, allocations: 0.8293 MB / 468.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.3789, allocations: 94.55 kB / 468.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/0.387, allocations: 5.072 MB / 473.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.3876, allocations: 0.8885 MB / 474.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.3878, allocations: 53.75 kB / 474.8 MB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.388, allocations: 175.5 kB / 475 MB, free: 10.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.492e-06/0.388, allocations: 5.438 kB / 475 MB, free: 10.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05276/0.4408, allocations: 14.01 MB / 489 MB, free: 144 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.78, allocations: 7.25 kB / 489 MB, free: 140 kB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.280841208063066] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 12.880219924729317 12.893354092 12.560233 Calling exit ...