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.001349/0.001349, 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.00144/0.00144, 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001942/0.001942, allocations: 64.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2404, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006013/0.2464, allocations: 4.3 MB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.2487, allocations: 1.032 MB / 437.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.2489, allocations: 8 kB / 437.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.2492, allocations: 99 kB / 437.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.2497, allocations: 202.2 kB / 437.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.2501, allocations: 191.7 kB / 437.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008139/0.2509, allocations: 0.7322 MB / 438.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.2512, allocations: 159.7 kB / 438.7 MB, free: 164 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.2516, allocations: 298.9 kB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.2521, allocations: 330.6 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.589e-05/0.2522, allocations: 60 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2523, allocations: 64 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.2525, allocations: 151.4 kB / 439.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.2528, allocations: 330.3 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.2536, allocations: 0.7274 MB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2536, allocations: 0 / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2536, allocations: 0 / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2536, allocations: 0 / 440.6 MB, free: 14.22 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.001553/0.2552, allocations: 0.8671 MB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2552, allocations: 8.031 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.2554, allocations: 115.9 kB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.2557, allocations: 100.4 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.2563, allocations: 344.3 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.2564, allocations: 41.69 kB / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.2565, allocations: 56.38 kB / 442.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009564/0.2574, allocations: 0.5693 MB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2574, allocations: 0 / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.2575, allocations: 24 kB / 442.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.2575, allocations: 16 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008721/0.2584, allocations: 468.9 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.2612, allocations: 2.029 MB / 445.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.2621, allocations: 0.5228 MB / 445.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.2627, allocations: 358 kB / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.2627, allocations: 4.5 kB / 446.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.2628, allocations: 43.06 kB / 446.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.533e-06/0.2628, allocations: 0 / 446.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004431/0.2672, allocations: 1.736 MB / 447.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2672, allocations: 63.84 kB / 447.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.2677, allocations: 365.7 kB / 448.3 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.2677, allocations: 41.7 kB / 448.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.2679, allocations: 245.3 kB / 448.6 MB, free: 5.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.2681, allocations: 210.2 kB / 448.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2682, allocations: 94.3 kB / 448.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2684, allocations: 358.7 kB / 449.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.2688, allocations: 165.2 kB / 449.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.2691, allocations: 220.8 kB / 449.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.2699, allocations: 382.1 kB / 450 MB, free: 4.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2699, allocations: 0 / 450 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001254/0.2711, allocations: 0.6602 MB / 450.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.2711, allocations: 8 kB / 450.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2711, allocations: 0 / 450.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/0.2719, allocations: 251.2 kB / 450.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.2722, allocations: 67.89 kB / 450.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007405/0.2796, allocations: 7.088 MB / 458 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.2799, allocations: 19.98 kB / 458 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.2799, allocations: 16 kB / 458.1 MB, free: 11.96 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.0002702/0.2802, allocations: 179.9 kB / 458.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/0.2803, allocations: 55.7 kB / 458.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.2804, allocations: 68.97 kB / 458.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2804, allocations: 8 kB / 458.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2804, allocations: 3.938 kB / 458.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2804, allocations: 3.984 kB / 458.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.2826, allocations: 1.311 MB / 459.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2826, allocations: 0 / 459.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2829, allocations: 51.91 kB / 459.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006854/0.2836, allocations: 259.1 kB / 460 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.2836, allocations: 15.98 kB / 460 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/0.2909, allocations: 7.094 MB / 467.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2909, allocations: 0 / 467.1 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2928, allocations: 1.025 MB / 468.1 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.293, allocations: 79.66 kB / 468.2 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.2931, allocations: 12 kB / 468.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.2933, allocations: 23.98 kB / 468.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.2935, allocations: 60.33 kB / 468.3 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.2935, allocations: 15.94 kB / 468.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003146/0.2938, allocations: 263.2 kB / 468.6 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2938, allocations: 0 / 468.6 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008765/0.2947, allocations: 176 kB / 468.7 MB, free: 0.7227 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.002173/0.2969, allocations: 1.576 MB / 470.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.2986, allocations: 1.013 MB / 471.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2986, allocations: 0 / 471.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.2998, allocations: 0.8253 MB / 472.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.3003, allocations: 93.62 kB / 472.2 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007776/0.3081, allocations: 5.076 MB / 477.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005708/0.3086, allocations: 0.891 MB / 478.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.3088, allocations: 48.55 kB / 478.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.3091, allocations: 171.4 kB / 478.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3091, allocations: 0 / 478.4 MB, free: 6.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05575/0.3648, allocations: 14.45 MB / 492.9 MB, free: 8.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.33, allocations: 8.672 kB / 492.9 MB, free: 8.484 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 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.714155569206923] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.43983025290072 13.467555827 13.208791212 Calling exit ...