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.001522/0.001522, allocations: 107 kB / 19.8 MB, free: 2.5 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.00183/0.00183, allocations: 216.4 kB / 23 MB, free: 5.574 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.465/1.465, allocations: 230.2 MB / 256.2 MB, free: 8.535 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: 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2921, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005672/0.2978, allocations: 4.3 MB / 434.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.2996, allocations: 1.039 MB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.2999, allocations: 8 kB / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.3001, allocations: 99 kB / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.3006, allocations: 194.2 kB / 435.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.301, allocations: 191.7 kB / 435.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007969/0.3018, allocations: 0.7439 MB / 436.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.3021, allocations: 163.1 kB / 436.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.3024, allocations: 298.8 kB / 436.8 MB, free: 500 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.3028, allocations: 334.5 kB / 437.2 MB, free: 164 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.139e-05/0.3029, allocations: 60 kB / 437.2 MB, free: 104 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3031, allocations: 67.98 kB / 437.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.3032, allocations: 139.6 kB / 437.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.3035, allocations: 338.3 kB / 437.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007916/0.3043, allocations: 0.7235 MB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3043, allocations: 0 / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3043, allocations: 0 / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3044, allocations: 0 / 438.5 MB, free: 14.84 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.001589/0.3059, allocations: 0.9308 MB / 439.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.306, allocations: 8.031 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.3064, allocations: 104.5 kB / 439.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.3069, allocations: 402.1 kB / 439.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.307, allocations: 41.62 kB / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.3071, allocations: 52.33 kB / 440 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.308, allocations: 0.5455 MB / 440.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.308, allocations: 7.875 kB / 440.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.3081, allocations: 20 kB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.3081, allocations: 12 kB / 440.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008883/0.309, allocations: 447.7 kB / 441 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.3119, allocations: 2.034 MB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009608/0.3129, allocations: 0.5869 MB / 443.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.3135, allocations: 366.2 kB / 444 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.3135, allocations: 8.5 kB / 444 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3136, allocations: 39.12 kB / 444.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.883e-06/0.3136, allocations: 0 / 444.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004622/0.3182, allocations: 2.037 MB / 446.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.3182, allocations: 55.97 kB / 446.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.3187, allocations: 373.6 kB / 446.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.3187, allocations: 33.7 kB / 446.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.3189, allocations: 233.5 kB / 446.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.3191, allocations: 214.1 kB / 447 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3192, allocations: 94.2 kB / 447.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3194, allocations: 362.8 kB / 447.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.3198, allocations: 161 kB / 447.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.3201, allocations: 211.8 kB / 447.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.3208, allocations: 388.8 kB / 448.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3209, allocations: 4 kB / 448.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001269/0.3221, allocations: 0.6502 MB / 448.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3221, allocations: 11.97 kB / 448.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3221, allocations: 0 / 448.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007701/0.3229, allocations: 267.1 kB / 449.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3232, allocations: 63.91 kB / 449.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007586/0.3308, allocations: 7.499 MB / 456.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.3311, allocations: 20.08 kB / 456.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.3311, allocations: 16 kB / 456.7 MB, free: 11.61 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.0002431/0.3314, allocations: 173.8 kB / 456.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-05/0.3315, allocations: 55.66 kB / 456.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3316, allocations: 69.03 kB / 457 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3316, allocations: 4 kB / 457 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.3316, allocations: 7.938 kB / 457 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3316, allocations: 7.984 kB / 457 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.3341, allocations: 1.322 MB / 458.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3341, allocations: 0 / 458.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.3344, allocations: 51.91 kB / 458.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007031/0.3351, allocations: 267.1 kB / 458.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.3351, allocations: 12.06 kB / 458.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/0.3424, allocations: 7.509 MB / 466.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3424, allocations: 4.062 kB / 466.2 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.3442, allocations: 1.022 MB / 467.2 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.3444, allocations: 164.8 kB / 467.3 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.3445, allocations: 15.94 kB / 467.4 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3447, allocations: 19.98 kB / 467.4 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3449, allocations: 44.5 kB / 467.4 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.3449, allocations: 19.98 kB / 467.4 MB, free: 176 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002996/0.3452, allocations: 259.2 kB / 467.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 4 kB / 467.7 MB, free: 15.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008441/0.3461, allocations: 172.5 kB / 467.9 MB, free: 15.75 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.0001605/0.3462, allocations: 115.2 kB / 468 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3479, allocations: 1.01 MB / 469 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3479, allocations: 0 / 469 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.349, allocations: 0.8333 MB / 469.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.3495, allocations: 85.47 kB / 469.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.3519, allocations: 1.296 MB / 471.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.3526, allocations: 0.8832 MB / 472.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.3527, allocations: 48.48 kB / 472.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.3528, allocations: 31.44 kB / 472.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3528, allocations: 0 / 472.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01698/0.3698, allocations: 9.458 MB / 481.6 MB, free: 1.891 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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: 5.171491794288158]