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.001494/0.001494, allocations: 113 kB / 21.17 MB, free: 0.7812 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.001641/0.001641, allocations: 218.7 kB / 24.47 MB, free: 4.359 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.422/1.422, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001965/0.001965, allocations: 71.83 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2968, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005823/0.3026, allocations: 4.3 MB / 436.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3047, allocations: 1.024 MB / 437.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.305, allocations: 12 kB / 437.4 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3053, allocations: 99 kB / 437.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005494/0.3059, allocations: 206.2 kB / 437.7 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.3063, allocations: 191.7 kB / 437.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000825/0.3071, allocations: 0.7283 MB / 438.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.3074, allocations: 171 kB / 438.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.3078, allocations: 286.9 kB / 439.1 MB, free: 388 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.3083, allocations: 330.5 kB / 439.4 MB, free: 56 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.3084, allocations: 60.05 kB / 439.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3085, allocations: 68 kB / 439.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3087, allocations: 143.4 kB / 439.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.309, allocations: 330.3 kB / 440 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.3099, allocations: 0.7273 MB / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3099, allocations: 0 / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3099, allocations: 0 / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3099, allocations: 0 / 440.7 MB, free: 14.73 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.001646/0.3115, allocations: 0.9347 MB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3116, allocations: 8.031 kB / 441.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.312, allocations: 100.5 kB / 441.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.3126, allocations: 402.1 kB / 442.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.3127, allocations: 41.69 kB / 442.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.3127, allocations: 56.33 kB / 442.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.3137, allocations: 0.5454 MB / 442.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3137, allocations: 0 / 442.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.3137, allocations: 23.94 kB / 442.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.3137, allocations: 16 kB / 442.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008533/0.3146, allocations: 447.7 kB / 443.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/0.3175, allocations: 2.031 MB / 445.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/0.3184, allocations: 0.5869 MB / 445.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.319, allocations: 362.2 kB / 446.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.3191, allocations: 8.562 kB / 446.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3191, allocations: 35.12 kB / 446.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.104e-06/0.3191, allocations: 0 / 446.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004633/0.3237, allocations: 2.041 MB / 448.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.3238, allocations: 55.97 kB / 448.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.3243, allocations: 369.7 kB / 448.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.3243, allocations: 33.7 kB / 448.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.3245, allocations: 233.5 kB / 449 MB, free: 6.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.3247, allocations: 214.2 kB / 449.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3248, allocations: 90.2 kB / 449.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.3251, allocations: 362.8 kB / 449.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.3254, allocations: 169 kB / 449.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.3258, allocations: 211.8 kB / 450 MB, free: 5.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.3265, allocations: 384.9 kB / 450.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3265, allocations: 3.938 kB / 450.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001248/0.3277, allocations: 0.658 MB / 451.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3278, allocations: 7.938 kB / 451.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3278, allocations: 3.938 kB / 451.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007532/0.3285, allocations: 251.2 kB / 451.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3288, allocations: 67.92 kB / 451.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007747/0.3366, allocations: 7.507 MB / 458.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.337, allocations: 24.08 kB / 458.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.337, allocations: 12 kB / 458.9 MB, free: 11.51 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.0002925/0.3373, allocations: 173.7 kB / 459.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3374, allocations: 55.67 kB / 459.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.3375, allocations: 65.02 kB / 459.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3375, allocations: 8 kB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.3375, allocations: 8.406 kB / 459.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3376, allocations: 0 / 459.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.3398, allocations: 1.329 MB / 460.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3398, allocations: 128 / 460.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.3401, allocations: 55.97 kB / 460.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006838/0.3408, allocations: 263 kB / 460.9 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.3408, allocations: 19.98 kB / 460.9 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007499/0.3483, allocations: 7.498 MB / 468.4 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3483, allocations: 4.062 kB / 468.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3502, allocations: 1.022 MB / 469.4 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.3504, allocations: 164.8 kB / 469.6 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.3505, allocations: 12 kB / 469.6 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.3507, allocations: 12 kB / 469.6 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.3509, allocations: 52.48 kB / 469.6 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.3509, allocations: 19.98 kB / 469.7 MB, free: 80 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003216/0.3512, allocations: 259.6 kB / 469.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3512, allocations: 4 kB / 469.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008863/0.3521, allocations: 172 kB / 470.1 MB, free: 15.66 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.0001761/0.3523, allocations: 118.3 kB / 470.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.354, allocations: 1.014 MB / 471.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.354, allocations: 3.938 kB / 471.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.3552, allocations: 0.8334 MB / 472.1 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/0.3557, allocations: 96.62 kB / 472.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3581, allocations: 1.326 MB / 473.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.3587, allocations: 0.8754 MB / 474.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.808e-05/0.3588, allocations: 35.42 kB / 474.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3588, allocations: 0 / 474.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of Templates: time 0.0184/0.3772, allocations: 14.07 MB / 488.4 MB, free: 13.13 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.969138915184885]