Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008556/0.0008556, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001123/0.001123, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8957/0.8957, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.173e-05, allocations: 3.125 kB / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003532/0.003554, allocations: 3.853 MB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004874, allocations: 0.9929 MB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.005031, allocations: 11.94 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.005212, allocations: 95 kB / 329.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.005554, allocations: 214 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.005825, allocations: 195.6 kB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.006286, allocations: 0.7746 MB / 330.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.006504, allocations: 147.6 kB / 330.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.006858, allocations: 439 kB / 331.2 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.007083, allocations: 247.2 kB / 331.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.007146, allocations: 64 kB / 331.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.007238, allocations: 64 kB / 331.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.007358, allocations: 147.4 kB / 331.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.007504, allocations: 235.4 kB / 332 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.008055, allocations: 0.7397 MB / 332.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.008059, allocations: 0 / 332.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.008061, allocations: 0 / 332.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.008069, allocations: 0 / 332.7 MB, free: 7.629 MB / 298.7 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.0009707/0.00904, allocations: 0.8594 MB / 333.6 MB, free: 6.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.009082, allocations: 11.98 kB / 333.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.009201, allocations: 111.8 kB / 333.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.009404, allocations: 104.4 kB / 333.8 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.009796, allocations: 343.6 kB / 334.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.009821, allocations: 41.69 kB / 334.2 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.009878, allocations: 52.38 kB / 334.2 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.01045, allocations: 0.566 MB / 334.8 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01046, allocations: 4.172 kB / 334.8 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.01049, allocations: 31.94 kB / 334.8 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.01051, allocations: 16 kB / 334.9 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.01134, allocations: 460.9 kB / 335.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.01314, allocations: 1.908 MB / 337.2 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.0137, allocations: 0.5189 MB / 337.7 MB, free: 2.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.01409, allocations: 366.3 kB / 338.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.01412, allocations: 4.5 kB / 338.1 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.01414, allocations: 39.06 kB / 338.1 MB, free: 2.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/0.01414, allocations: 0 / 338.1 MB, free: 2.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.002544/0.01669, allocations: 1.725 MB / 339.9 MB, free: 256 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.01673, allocations: 63.84 kB / 339.9 MB, free: 176 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.017, allocations: 369.6 kB / 340.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.01703, allocations: 37.7 kB / 340.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01715, allocations: 249.3 kB / 340.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/0.01724, allocations: 206.2 kB / 340.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.01733, allocations: 94.3 kB / 340.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.01743, allocations: 358.7 kB / 341.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.01763, allocations: 165.2 kB / 341.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.01785, allocations: 216.8 kB / 341.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.01827, allocations: 386.1 kB / 341.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01827, allocations: 0 / 341.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009622/0.01924, allocations: 0.6563 MB / 342.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01925, allocations: 7.984 kB / 342.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01926, allocations: 0 / 342.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.01969, allocations: 255.2 kB / 342.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.01986, allocations: 67.83 kB / 342.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.02412, allocations: 7.034 MB / 350 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.02427, allocations: 24.08 kB / 350 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.0243, allocations: 16 kB / 350 MB, free: 5.555 MB / 314.7 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.0001626/0.02446, allocations: 170.2 kB / 350.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.02451, allocations: 55.8 kB / 350.2 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.02456, allocations: 68.95 kB / 350.3 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02456, allocations: 12 kB / 350.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.02457, allocations: 0 / 350.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.02458, allocations: 7.984 kB / 350.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.0258, allocations: 1.237 MB / 351.5 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.0258, allocations: 0 / 351.5 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.02594, allocations: 55.89 kB / 351.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.0263, allocations: 259.1 kB / 351.9 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.02632, allocations: 15.94 kB / 351.9 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.03033, allocations: 7.035 MB / 358.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03033, allocations: 0 / 358.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.03136, allocations: 1.025 MB / 359.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.03148, allocations: 79.66 kB / 360 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.03151, allocations: 15.94 kB / 360 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.03163, allocations: 16.11 kB / 360 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.03174, allocations: 56.39 kB / 360.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.03175, allocations: 20 kB / 360.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.03193, allocations: 263.2 kB / 360.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03193, allocations: 4 kB / 360.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005447/0.03248, allocations: 176 kB / 360.5 MB, free: 10.45 MB / 330.7 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.001267/0.03374, allocations: 1.58 MB / 362.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.03476, allocations: 1.013 MB / 363.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03476, allocations: 0 / 363.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009491/0.03571, allocations: 0.8254 MB / 364 MB, free: 6.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.03609, allocations: 85.48 kB / 364 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004871/0.04096, allocations: 5.017 MB / 369.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.04122, allocations: 292.3 kB / 369.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.04136, allocations: 52.55 kB / 369.4 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.04152, allocations: 172.4 kB / 369.6 MB, free: 1.137 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.04152, allocations: 0 / 369.6 MB, free: 1.137 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.07401, allocations: 14.61 MB / 384.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.161, allocations: 0 / 384.2 MB, free: 2.727 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.915113157592714] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 8.25863778963685 8.26743245 8.257626285 Calling exit ...