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.001619/0.001619, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001683/0.001683, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.425/1.425, allocations: 230.5 MB / 254.7 MB, free: 15.23 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: 63.84 kB / 373.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1107, allocations: 53.31 MB / 426.9 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006371/0.1171, allocations: 4.3 MB / 431.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2053/0.3224, allocations: 1.003 MB / 432.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.3228, allocations: 16.16 kB / 432.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.323, allocations: 97.61 kB / 432.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.3235, allocations: 199.3 kB / 432.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.3239, allocations: 191.2 kB / 432.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000706/0.3246, allocations: 0.7338 MB / 433.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.3248, allocations: 160.7 kB / 433.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.3252, allocations: 291.2 kB / 433.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.3254, allocations: 327.8 kB / 434.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.862e-05/0.3255, allocations: 62.06 kB / 434.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3256, allocations: 65.75 kB / 434.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3257, allocations: 145.8 kB / 434.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.326, allocations: 335.2 kB / 434.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.3266, allocations: 0.7246 MB / 435.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3266, allocations: 0.75 kB / 435.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3266, allocations: 0 / 435.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.3266, allocations: 4.875 kB / 435.5 MB, free: 7.059 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.001296/0.3279, allocations: 0.9328 MB / 436.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3279, allocations: 9.938 kB / 436.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.328, allocations: 110.1 kB / 436.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.3284, allocations: 100.9 kB / 436.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.3289, allocations: 400.4 kB / 437.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.329, allocations: 43.67 kB / 437.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.3291, allocations: 56.97 kB / 437.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.3299, allocations: 0.5737 MB / 437.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.33, allocations: 1.094 kB / 437.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.33, allocations: 27.3 kB / 437.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.33, allocations: 14.28 kB / 437.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008227/0.3308, allocations: 474.1 kB / 438.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.3335, allocations: 2.086 MB / 440.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.3344, allocations: 0.5912 MB / 440.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/0.335, allocations: 358.6 kB / 441.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.335, allocations: 7.125 kB / 441.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.335, allocations: 38.59 kB / 441.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.734e-06/0.335, allocations: 0 / 441.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004214/0.3393, allocations: 2.036 MB / 443.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3393, allocations: 57.94 kB / 443.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.3397, allocations: 369.5 kB / 443.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3397, allocations: 36.52 kB / 443.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3398, allocations: 249.6 kB / 444.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3399, allocations: 217.7 kB / 444.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.34, allocations: 87.28 kB / 444.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.3401, allocations: 359.8 kB / 444.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/0.3405, allocations: 168 kB / 444.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.3408, allocations: 217.8 kB / 445.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.3414, allocations: 378.5 kB / 445.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3414, allocations: 3.938 kB / 445.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001137/0.3426, allocations: 0.6617 MB / 446.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3426, allocations: 4.469 kB / 446.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3426, allocations: 1.156 kB / 446.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007048/0.3433, allocations: 257.4 kB / 446.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3436, allocations: 65.39 kB / 446.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.3511, allocations: 7.501 MB / 453.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.3515, allocations: 18.62 kB / 454 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.3515, allocations: 14.84 kB / 454 MB, free: 9.965 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.0002879/0.3518, allocations: 174.5 kB / 454.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.3519, allocations: 60.83 kB / 454.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.352, allocations: 66.02 kB / 454.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.352, allocations: 5.25 kB / 454.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.352, allocations: 2.125 kB / 454.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.352, allocations: 3 kB / 454.3 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.3543, allocations: 1.337 MB / 455.6 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3543, allocations: 3.938 kB / 455.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.3545, allocations: 56.45 kB / 455.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006488/0.3552, allocations: 265.1 kB / 455.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3552, allocations: 13.2 kB / 455.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007253/0.3625, allocations: 7.511 MB / 463.4 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3625, allocations: 1.688 kB / 463.5 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.3643, allocations: 1.022 MB / 464.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.3645, allocations: 158.9 kB / 464.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.3646, allocations: 11.34 kB / 464.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3648, allocations: 17.69 kB / 464.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.365, allocations: 57.62 kB / 464.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.365, allocations: 14.97 kB / 464.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003508/0.3654, allocations: 266.3 kB / 465 MB, free: 1.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3654, allocations: 0 / 465 MB, free: 1.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009936/0.3664, allocations: 177.8 kB / 465.2 MB, free: 1.148 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.002293/0.3687, allocations: 1.587 MB / 466.7 MB, free: 80 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.3707, allocations: 1.019 MB / 467.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3707, allocations: 384 / 467.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.372, allocations: 0.8339 MB / 468.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.3725, allocations: 84.58 kB / 468.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007943/0.3804, allocations: 5.078 MB / 473.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.3811, allocations: 0.8832 MB / 474.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.3813, allocations: 54.28 kB / 474.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3815, allocations: 176.4 kB / 474.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3815, allocations: 0 / 474.9 MB, free: 11.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05675/0.4383, allocations: 14.02 MB / 488.9 MB, free: 244 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.91, allocations: 11.67 kB / 488.9 MB, free: 236 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 & /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.274285804014653] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 13.013147855643183 13.02720272 12.697782315 Calling exit ...