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.008469/0.008469, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.002111/0.002111, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.454/1.454, allocations: 230.6 MB / 259 MB, free: 8.035 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: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") [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.001936/0.001936, allocations: 59.91 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2887, allocations: 53.37 MB / 433.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006428/0.2952, allocations: 4.305 MB / 437.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.2975, allocations: 1.024 MB / 438.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.2978, allocations: 11.94 kB / 438.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.298, allocations: 99 kB / 438.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005459/0.2986, allocations: 202.3 kB / 438.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.299, allocations: 187.7 kB / 439 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007982/0.2998, allocations: 0.7361 MB / 439.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.3001, allocations: 159.7 kB / 439.9 MB, free: 200 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.3006, allocations: 302.9 kB / 440.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.301, allocations: 326.5 kB / 440.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.3011, allocations: 64 kB / 440.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3012, allocations: 63.94 kB / 440.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3014, allocations: 147.5 kB / 440.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.3017, allocations: 338.2 kB / 441.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000845/0.3026, allocations: 0.7196 MB / 441.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3026, allocations: 0 / 441.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3026, allocations: 4 kB / 441.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3026, allocations: 4 kB / 441.9 MB, free: 14.25 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.001656/0.3042, allocations: 0.8554 MB / 442.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3043, allocations: 12.03 kB / 442.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.3047, allocations: 96.48 kB / 442.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.3053, allocations: 340.3 kB / 443.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.3053, allocations: 37.69 kB / 443.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-05/0.3054, allocations: 60.33 kB / 443.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.3064, allocations: 0.5454 MB / 443.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3064, allocations: 0 / 443.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.3064, allocations: 27.94 kB / 443.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3064, allocations: 12 kB / 443.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/0.3074, allocations: 443.7 kB / 444.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.3105, allocations: 1.987 MB / 446.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009059/0.3114, allocations: 0.5112 MB / 446.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.3121, allocations: 359 kB / 447.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.3121, allocations: 8.5 kB / 447.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3121, allocations: 43.05 kB / 447.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.774e-06/0.3121, allocations: 4 kB / 447.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004633/0.3168, allocations: 1.725 MB / 448.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3168, allocations: 59.91 kB / 448.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.3172, allocations: 377.5 kB / 449.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.3173, allocations: 37.7 kB / 449.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.3175, allocations: 237.4 kB / 449.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3177, allocations: 206.2 kB / 449.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.3178, allocations: 94.3 kB / 449.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.318, allocations: 358.8 kB / 450.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.3184, allocations: 165.2 kB / 450.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.3188, allocations: 220.8 kB / 450.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3195, allocations: 370.2 kB / 451 MB, free: 4.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3195, allocations: 0 / 451 MB, free: 4.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001281/0.3208, allocations: 0.6602 MB / 451.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3208, allocations: 7.938 kB / 451.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.3208, allocations: 7.984 kB / 451.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007516/0.3215, allocations: 255.2 kB / 451.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.3219, allocations: 63.89 kB / 452 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007679/0.3295, allocations: 7.089 MB / 459 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.3299, allocations: 20.02 kB / 459.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3299, allocations: 20 kB / 459.1 MB, free: 12.25 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.0003012/0.3302, allocations: 177.6 kB / 459.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.69e-05/0.3303, allocations: 55.66 kB / 459.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.3305, allocations: 73.02 kB / 459.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3305, allocations: 4.125 kB / 459.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.3305, allocations: 11.94 kB / 459.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3305, allocations: 3.984 kB / 459.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3328, allocations: 1.291 MB / 460.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3328, allocations: 0 / 460.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3331, allocations: 55.91 kB / 460.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007001/0.3338, allocations: 259.3 kB / 461 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.3338, allocations: 15.98 kB / 461 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007311/0.3411, allocations: 7.096 MB / 468.1 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3411, allocations: 3.938 kB / 468.1 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.343, allocations: 1.013 MB / 469.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.3432, allocations: 87.64 kB / 469.2 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3432, allocations: 16 kB / 469.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.3435, allocations: 11.98 kB / 469.2 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3436, allocations: 56.39 kB / 469.3 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.3437, allocations: 20.12 kB / 469.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003065/0.344, allocations: 267.1 kB / 469.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.344, allocations: 0 / 469.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008622/0.3448, allocations: 172 kB / 469.7 MB, free: 1.012 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.0001511/0.345, allocations: 120.4 kB / 469.9 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.3467, allocations: 1.005 MB / 470.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3467, allocations: 3.938 kB / 470.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.3479, allocations: 0.8331 MB / 471.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.3484, allocations: 89.61 kB / 471.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.3509, allocations: 1.319 MB / 473.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.3514, allocations: 0.8792 MB / 474 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3515, allocations: 31.42 kB / 474 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3515, allocations: 4 kB / 474 MB, free: 12.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01903/0.3706, allocations: 14.08 MB / 488.1 MB, free: 14.5 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 9.032238288084045]