Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.041/2.041, allocations: 230.6 MB / 258.2 MB, free: 7.75 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 43.94 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3577, allocations: 53.37 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008183/0.3659, allocations: 3.839 MB / 436.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3693, allocations: 0.9927 MB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005012/0.3698, allocations: 19.94 kB / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.3701, allocations: 99 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008324/0.371, allocations: 194.3 kB / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.3717, allocations: 195.6 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3729, allocations: 0.7283 MB / 438.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004756/0.3733, allocations: 171.6 kB / 438.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.374, allocations: 290.9 kB / 438.9 MB, free: 212 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.3745, allocations: 338.5 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.3747, allocations: 64 kB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.3749, allocations: 64 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.3751, allocations: 147.5 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.3755, allocations: 270.7 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3766, allocations: 0.7313 MB / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3766, allocations: 0 / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3766, allocations: 0 / 440.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.3766, allocations: 0 / 440.5 MB, free: 14.61 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.002256/0.3789, allocations: 0.8555 MB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3789, allocations: 8.031 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/0.3795, allocations: 100.5 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.3804, allocations: 344.3 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.3805, allocations: 37.69 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.3806, allocations: 52.33 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.3822, allocations: 0.5493 MB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3822, allocations: 0 / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.3823, allocations: 20 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.3823, allocations: 16 kB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.3839, allocations: 447.6 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/0.3888, allocations: 1.777 MB / 444.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.3903, allocations: 0.5151 MB / 445.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.3914, allocations: 362 kB / 445.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.3915, allocations: 8.5 kB / 445.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.3915, allocations: 35.06 kB / 445.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 4.288e-06/0.3915, allocations: 0 / 445.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007952/0.3995, allocations: 1.728 MB / 447.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.3995, allocations: 63.84 kB / 447.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.4002, allocations: 341.7 kB / 447.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/0.4003, allocations: 33.7 kB / 447.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.4005, allocations: 245.3 kB / 448 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.4009, allocations: 214.2 kB / 448.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.4011, allocations: 98.23 kB / 448.3 MB, free: 6.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.4013, allocations: 354.8 kB / 448.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.402, allocations: 169.2 kB / 448.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.4026, allocations: 204.8 kB / 449 MB, free: 5.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.4039, allocations: 390.1 kB / 449.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4039, allocations: 0 / 449.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002352/0.4063, allocations: 0.6602 MB / 450 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.4063, allocations: 4 kB / 450 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4063, allocations: 0 / 450 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.4077, allocations: 255.1 kB / 450.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.4083, allocations: 67.92 kB / 450.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4201, allocations: 6.938 MB / 457.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.4206, allocations: 27.95 kB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.4207, allocations: 12 kB / 457.3 MB, free: 13.04 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.0004129/0.4211, allocations: 178.1 kB / 457.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.4212, allocations: 47.66 kB / 457.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.4214, allocations: 68.8 kB / 457.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.4214, allocations: 4 kB / 457.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.4215, allocations: 8.062 kB / 457.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4215, allocations: 3.984 kB / 457.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/0.4253, allocations: 1.167 MB / 458.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4253, allocations: 128 / 458.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.4259, allocations: 63.91 kB / 458.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.4272, allocations: 251.2 kB / 459.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.4272, allocations: 11.98 kB / 459.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01197/0.4392, allocations: 6.947 MB / 466 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4392, allocations: 0 / 466 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.4426, allocations: 1.017 MB / 467.1 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.4429, allocations: 79.67 kB / 467.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.443, allocations: 16.08 kB / 467.2 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.4435, allocations: 15.94 kB / 467.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.4437, allocations: 60.33 kB / 467.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.4438, allocations: 15.98 kB / 467.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004688/0.4443, allocations: 243.2 kB / 467.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4443, allocations: 0 / 467.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00163/0.4459, allocations: 172 kB / 467.7 MB, free: 2.191 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.0002161/0.4461, allocations: 111.2 kB / 467.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002887/0.449, allocations: 1.017 MB / 468.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.449, allocations: 0 / 468.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.4509, allocations: 0.8253 MB / 469.6 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.4517, allocations: 81.52 kB / 469.7 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.4552, allocations: 1.288 MB / 471 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.4557, allocations: 279.6 kB / 471.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.456, allocations: 48.36 kB / 471.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.4561, allocations: 35.42 kB / 471.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4561, allocations: 0 / 471.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of Templates: time 0.0258/0.4819, allocations: 9.179 MB / 480.5 MB, free: 5.273 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 7.817726970999502]