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.001313/0.001313, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001507/0.001507, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.382/1.382, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001913/0.001913, allocations: 68.95 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.244, allocations: 53.36 MB / 431.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008121/0.2521, allocations: 4.313 MB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.2547, allocations: 1.02 MB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.2551, allocations: 15.94 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.2555, allocations: 99 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.2562, allocations: 202.2 kB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.2567, allocations: 183.7 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.2578, allocations: 0.74 MB / 438.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.2582, allocations: 159.7 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.2589, allocations: 298.8 kB / 438.9 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.2596, allocations: 330.7 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.2597, allocations: 60 kB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.2599, allocations: 60 kB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.2601, allocations: 151.4 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.2605, allocations: 334.3 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.2616, allocations: 0.7196 MB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2616, allocations: 4 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2616, allocations: 4 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2616, allocations: 0 / 440.6 MB, free: 14.45 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.002173/0.2638, allocations: 0.8593 MB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.2638, allocations: 8.031 kB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002259/0.264, allocations: 111.9 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005114/0.2646, allocations: 100.4 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.2653, allocations: 348.2 kB / 442 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.2654, allocations: 45.69 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.2655, allocations: 52.38 kB / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.2668, allocations: 0.5693 MB / 442.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.2669, allocations: 4 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.2669, allocations: 20 kB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.2669, allocations: 15.98 kB / 442.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.2682, allocations: 465 kB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.2727, allocations: 2.044 MB / 445.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.274, allocations: 0.5111 MB / 445.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009451/0.2749, allocations: 370 kB / 446.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.275, allocations: 8.484 kB / 446.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.275, allocations: 43 kB / 446.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 3.677e-06/0.275, allocations: 0 / 446.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006126/0.2811, allocations: 1.736 MB / 447.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.2812, allocations: 55.91 kB / 447.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.2818, allocations: 369.7 kB / 448.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.2819, allocations: 33.7 kB / 448.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.2821, allocations: 249.3 kB / 448.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.2823, allocations: 210.2 kB / 448.8 MB, free: 6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.2826, allocations: 94.3 kB / 448.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.2828, allocations: 366.7 kB / 449.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.2833, allocations: 165.2 kB / 449.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.2838, allocations: 216.8 kB / 449.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.2848, allocations: 378.1 kB / 450 MB, free: 4.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2848, allocations: 0 / 450 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001779/0.2866, allocations: 0.6602 MB / 450.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.2866, allocations: 7.984 kB / 450.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2866, allocations: 4 kB / 450.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.2877, allocations: 255.1 kB / 450.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.2881, allocations: 67.92 kB / 450.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.2984, allocations: 7.076 MB / 458 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2988, allocations: 28.08 kB / 458 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.2989, allocations: 16 kB / 458.1 MB, free: 12.2 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.0003565/0.2992, allocations: 170.1 kB / 458.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.2994, allocations: 55.61 kB / 458.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.2995, allocations: 69.03 kB / 458.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.2996, allocations: 4 kB / 458.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.2996, allocations: 8 kB / 458.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2996, allocations: 3.984 kB / 458.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.302, allocations: 1.311 MB / 459.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.302, allocations: 4 kB / 459.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.3023, allocations: 55.91 kB / 459.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006701/0.3029, allocations: 259.4 kB / 460 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.303, allocations: 15.98 kB / 460 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007103/0.3101, allocations: 7.089 MB / 467.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3101, allocations: 8.062 kB / 467.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.3119, allocations: 1.017 MB / 468.1 MB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.3121, allocations: 79.66 kB / 468.2 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.3121, allocations: 12 kB / 468.2 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.3124, allocations: 15.98 kB / 468.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3125, allocations: 60.33 kB / 468.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.3126, allocations: 19.94 kB / 468.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003043/0.3129, allocations: 263.2 kB / 468.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3129, allocations: 0 / 468.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008578/0.3137, allocations: 180 kB / 468.7 MB, free: 0.9609 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.002163/0.3159, allocations: 1.572 MB / 470.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.3176, allocations: 1.006 MB / 471.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3176, allocations: 3.938 kB / 471.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3188, allocations: 0.8331 MB / 472.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.3193, allocations: 88.06 kB / 472.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/0.3273, allocations: 5.084 MB / 477.3 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/0.3279, allocations: 0.8909 MB / 478.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.3281, allocations: 52.53 kB / 478.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.3283, allocations: 175.4 kB / 478.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3283, allocations: 0 / 478.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.3864, allocations: 14.44 MB / 492.9 MB, free: 8.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.97, allocations: 23.05 kB / 492.9 MB, free: 8.715 MB / 398.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.374299167189747] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.07537031499669 13.103215793 12.836344405 Calling exit ...