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.001288/0.001288, allocations: 110 kB / 20.43 MB, free: 1.453 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.001457/0.001457, allocations: 212.5 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.383/1.383, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002889/0.002889, allocations: 63.89 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2668, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005932/0.2727, allocations: 4.304 MB / 435.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.2749, allocations: 1.035 MB / 436.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.2754, allocations: 11.94 kB / 436.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.2758, allocations: 99 kB / 436.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007425/0.2766, allocations: 198.3 kB / 436.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.2771, allocations: 195.7 kB / 437 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.2782, allocations: 0.74 MB / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.2786, allocations: 159.8 kB / 437.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.2792, allocations: 306.8 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005504/0.2797, allocations: 326.5 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.2798, allocations: 64 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.28, allocations: 68 kB / 438.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.2802, allocations: 143.5 kB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.2806, allocations: 330.3 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008164/0.2814, allocations: 0.7235 MB / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2814, allocations: 0 / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2814, allocations: 0 / 439.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.2814, allocations: 0 / 439.9 MB, free: 13.97 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.00165/0.2831, allocations: 0.8671 MB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2831, allocations: 8.031 kB / 440.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.2833, allocations: 104 kB / 440.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.2837, allocations: 108.4 kB / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.2843, allocations: 344.3 kB / 441.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.2844, allocations: 45.62 kB / 441.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.2844, allocations: 64.36 kB / 441.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009505/0.2854, allocations: 0.5693 MB / 442 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2854, allocations: 0 / 442 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.2854, allocations: 20 kB / 442 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.2855, allocations: 16 kB / 442 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.2863, allocations: 461 kB / 442.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.2893, allocations: 2.036 MB / 444.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.2902, allocations: 0.5229 MB / 445 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.2908, allocations: 354 kB / 445.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.2908, allocations: 4.5 kB / 445.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2909, allocations: 39.06 kB / 445.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.734e-06/0.2909, allocations: 7.938 kB / 445.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004198/0.2951, allocations: 1.732 MB / 447.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2951, allocations: 63.84 kB / 447.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.2955, allocations: 369.7 kB / 447.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.2956, allocations: 37.7 kB / 447.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.2957, allocations: 249.3 kB / 447.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.2959, allocations: 206.2 kB / 448.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.2961, allocations: 94.3 kB / 448.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2962, allocations: 362.7 kB / 448.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.2966, allocations: 169.2 kB / 448.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.297, allocations: 216.8 kB / 448.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.2976, allocations: 378.2 kB / 449.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2976, allocations: 0 / 449.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001237/0.2989, allocations: 0.6602 MB / 449.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2989, allocations: 8 kB / 449.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2989, allocations: 3.984 kB / 449.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007217/0.2996, allocations: 255.2 kB / 450.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.2999, allocations: 67.89 kB / 450.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007077/0.307, allocations: 7.08 MB / 457.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.3073, allocations: 15.98 kB / 457.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.3073, allocations: 16 kB / 457.3 MB, free: 11.71 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.0002462/0.3076, allocations: 178.8 kB / 457.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3077, allocations: 59.61 kB / 457.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.3078, allocations: 61.03 kB / 457.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.3079, allocations: 8 kB / 457.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3079, allocations: 0 / 457.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3079, allocations: 7.969 kB / 457.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3102, allocations: 1.315 MB / 459 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3102, allocations: 3.984 kB / 459 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.3105, allocations: 51.91 kB / 459 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006838/0.3111, allocations: 255.2 kB / 459.3 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.3112, allocations: 12 kB / 459.3 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007116/0.3183, allocations: 7.105 MB / 466.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3183, allocations: 0 / 466.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.3201, allocations: 1.013 MB / 467.4 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.3204, allocations: 83.66 kB / 467.5 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.3204, allocations: 12 kB / 467.5 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3207, allocations: 19.98 kB / 467.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.3208, allocations: 52.34 kB / 467.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.3209, allocations: 23.92 kB / 467.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.3212, allocations: 259.2 kB / 467.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3212, allocations: 4 kB / 467.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009112/0.3221, allocations: 172 kB / 468 MB, free: 488 kB / 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.002282/0.3244, allocations: 1.588 MB / 469.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.3261, allocations: 1.005 MB / 470.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3261, allocations: 0 / 470.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.3273, allocations: 0.8331 MB / 471.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.3278, allocations: 85.5 kB / 471.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008055/0.3359, allocations: 5.085 MB / 476.6 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.3365, allocations: 0.8909 MB / 477.5 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.3366, allocations: 48.53 kB / 477.5 MB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.3369, allocations: 175.4 kB / 477.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3369, allocations: 0 / 477.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05987/0.3967, allocations: 14.48 MB / 492.2 MB, free: 8.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.57, allocations: 7.422 kB / 492.2 MB, free: 8.188 MB / 398.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.490951971849427]