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.001704/0.001704, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001501/0.001501, allocations: 219.6 kB / 23 MB, free: 5.609 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.395/1.395, allocations: 230.5 MB / 256.5 MB, free: 8.434 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.001874/0.001874, allocations: 67.89 kB / 376.2 MB, free: 4.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.274, allocations: 53.31 MB / 429.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008159/0.2821, allocations: 4.307 MB / 433.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003048/0.2852, allocations: 1.031 MB / 434.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006467/0.2858, allocations: 8 kB / 434.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.2863, allocations: 99 kB / 435 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2873, allocations: 194.3 kB / 435.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.288, allocations: 191.7 kB / 435.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.2894, allocations: 0.74 MB / 436.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004695/0.2899, allocations: 159 kB / 436.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007378/0.2906, allocations: 290.9 kB / 436.5 MB, free: 396 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.2913, allocations: 334.5 kB / 436.9 MB, free: 60 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.2914, allocations: 60 kB / 436.9 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.2918, allocations: 64.05 kB / 437 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.292, allocations: 151.4 kB / 437.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.2925, allocations: 326.3 kB / 437.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009987/0.2935, allocations: 0.7274 MB / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2935, allocations: 0 / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2935, allocations: 0 / 438.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.2936, allocations: 0 / 438.2 MB, free: 14.74 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.001723/0.2953, allocations: 0.9385 MB / 439.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2953, allocations: 8.031 kB / 439.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.2955, allocations: 107.9 kB / 439.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.2959, allocations: 96.48 kB / 439.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.2966, allocations: 406.1 kB / 439.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.2966, allocations: 45.69 kB / 439.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.2967, allocations: 60.27 kB / 439.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.2977, allocations: 0.5732 MB / 440.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.2978, allocations: 0 / 440.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.2978, allocations: 28 kB / 440.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.2978, allocations: 16 kB / 440.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009676/0.2988, allocations: 464.9 kB / 440.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.3019, allocations: 2.083 MB / 443 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009571/0.3029, allocations: 0.5869 MB / 443.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.3036, allocations: 358.2 kB / 443.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3036, allocations: 8.562 kB / 443.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3036, allocations: 43.12 kB / 444 MB, free: 8.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.234e-06/0.3036, allocations: 3.938 kB / 444 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004549/0.3082, allocations: 2.037 MB / 446 MB, free: 6.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3082, allocations: 59.97 kB / 446.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.3087, allocations: 369.7 kB / 446.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.3087, allocations: 37.7 kB / 446.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.3089, allocations: 245.3 kB / 446.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.3091, allocations: 214.2 kB / 446.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.3092, allocations: 90.25 kB / 447 MB, free: 5.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3094, allocations: 358.7 kB / 447.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.3097, allocations: 169 kB / 447.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.3101, allocations: 215.8 kB / 447.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.3108, allocations: 376.9 kB / 448.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3108, allocations: 0 / 448.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001332/0.3122, allocations: 0.6619 MB / 448.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.3122, allocations: 7.938 kB / 448.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3122, allocations: 0 / 448.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/0.313, allocations: 259.2 kB / 449 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.3134, allocations: 67.89 kB / 449.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008377/0.3217, allocations: 7.499 MB / 456.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3221, allocations: 16.03 kB / 456.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.3221, allocations: 15.98 kB / 456.6 MB, free: 11.27 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.0002877/0.3224, allocations: 185 kB / 456.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3225, allocations: 55.73 kB / 456.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.3227, allocations: 65.02 kB / 456.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3227, allocations: 12.47 kB / 456.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3227, allocations: 0 / 456.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.3227, allocations: 4 kB / 456.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.3251, allocations: 1.341 MB / 458.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3251, allocations: 0 / 458.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.3254, allocations: 63.83 kB / 458.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007897/0.3262, allocations: 255.2 kB / 458.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.3262, allocations: 8 kB / 458.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007325/0.3336, allocations: 7.521 MB / 466.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3336, allocations: 0 / 466.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.3354, allocations: 1.014 MB / 467.1 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.3356, allocations: 156.8 kB / 467.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.3357, allocations: 12 kB / 467.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3359, allocations: 24.11 kB / 467.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.3361, allocations: 56.42 kB / 467.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.3361, allocations: 24.41 kB / 467.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.3364, allocations: 259.2 kB / 467.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3364, allocations: 0 / 467.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008563/0.3373, allocations: 180 kB / 467.8 MB, free: 15.39 MB / 382.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.002116/0.3394, allocations: 1.578 MB / 469.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.341, allocations: 1.018 MB / 470.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.341, allocations: 0 / 470.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.3422, allocations: 0.8335 MB / 471.3 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.3428, allocations: 93.44 kB / 471.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/0.3507, allocations: 5.079 MB / 476.4 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.3513, allocations: 0.8871 MB / 477.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.3515, allocations: 56.47 kB / 477.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3517, allocations: 175.4 kB / 477.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3517, allocations: 0 / 477.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05589/0.4076, allocations: 14.1 MB / 491.6 MB, free: 7.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.8, allocations: 11.67 kB / 491.7 MB, free: 7.469 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 --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.075807661021827] Failed to read output from testmodel.py, exit status != 0: ['time', 'Capacitor1.v', 'Capacitor2.v', 'Inductor2.i', 'Inductor3.i'] 12.903963562013814 12.91820221 12.62146143 Calling exit ...