Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 147 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9675/0.9675, allocations: 173.4 MB / 201.5 MB, free: 8.281 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 268.5 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.385e-05, allocations: 2.312 kB / 268.5 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003917/0.003941, allocations: 4.158 MB / 272.7 MB, free: 5.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.005758, allocations: 0.9418 MB / 273.6 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.006029, allocations: 14.78 kB / 273.7 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.00623, allocations: 99 kB / 273.8 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.006722, allocations: 211.1 kB / 274 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.007031, allocations: 172.1 kB / 274.1 MB, free: 4.145 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006168/0.007648, allocations: 0.763 MB / 274.9 MB, free: 3.379 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.007877, allocations: 152.3 kB / 275 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004598/0.008337, allocations: 423 kB / 275.5 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.008618, allocations: 247.2 kB / 275.7 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.349e-05/0.008681, allocations: 60 kB / 275.8 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.008741, allocations: 64 kB / 275.8 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.008855, allocations: 151.4 kB / 276 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.009008, allocations: 231.4 kB / 276.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.009399, allocations: 494.1 kB / 276.7 MB, free: 1.582 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.009401, allocations: 4 kB / 276.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.009402, allocations: 0 / 276.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.009409, allocations: 0 / 276.7 MB, free: 1.578 MB / 250.7 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.0008445/0.01025, allocations: 0.8267 MB / 277.5 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.01029, allocations: 8.031 kB / 277.5 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.01038, allocations: 88.86 kB / 277.6 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.01066, allocations: 267.7 kB / 277.9 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.01068, allocations: 37.69 kB / 277.9 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.01073, allocations: 48.38 kB / 277.9 MB, free: 268 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.01112, allocations: 423.5 kB / 278.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.01113, allocations: 4.172 kB / 278.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.01116, allocations: 24.12 kB / 278.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.01117, allocations: 12 kB / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.0114, allocations: 190.8 kB / 278.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.01286, allocations: 1.438 MB / 280 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.01322, allocations: 393.6 kB / 280.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.01342, allocations: 210.9 kB / 280.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.01345, allocations: 16.44 kB / 280.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.01347, allocations: 39.06 kB / 280.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.084e-06/0.01347, allocations: 0 / 280.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001713/0.01518, allocations: 1.125 MB / 281.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.01521, allocations: 63.84 kB / 281.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01538, allocations: 295.4 kB / 282.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.0154, allocations: 37.7 kB / 282.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.01548, allocations: 209.9 kB / 282.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/0.01557, allocations: 214.1 kB / 282.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.01566, allocations: 86.3 kB / 282.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.01576, allocations: 362.7 kB / 283 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.01583, allocations: 49.3 kB / 283.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.98e-05/0.01593, allocations: 104.8 kB / 283.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.01611, allocations: 196.9 kB / 283.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01611, allocations: 0 / 283.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003887/0.0165, allocations: 384.4 kB / 283.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01652, allocations: 4 kB / 283.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01652, allocations: 0 / 283.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.01688, allocations: 199.1 kB / 283.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.01708, allocations: 71.89 kB / 284 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.02026, allocations: 6.032 MB / 290 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.02037, allocations: 15.98 kB / 290.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.02039, allocations: 12 kB / 290.1 MB, free: 3.535 MB / 266.7 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.0001194/0.02051, allocations: 144.7 kB / 290.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.02057, allocations: 47.95 kB / 290.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.02062, allocations: 60.75 kB / 290.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.02063, allocations: 8 kB / 290.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.02063, allocations: 0 / 290.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.02064, allocations: 3.984 kB / 290.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.0215, allocations: 0.7223 MB / 291.1 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0215, allocations: 3.938 kB / 291.1 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.02168, allocations: 59.95 kB / 291.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.02199, allocations: 210.2 kB / 291.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.02201, allocations: 12 kB / 291.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.02507, allocations: 6.04 MB / 297.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.02508, allocations: 0 / 297.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005697/0.02565, allocations: 0.5967 MB / 298 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.02573, allocations: 47.7 kB / 298 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.02576, allocations: 8 kB / 298 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.02587, allocations: 19.94 kB / 298 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.02597, allocations: 56.39 kB / 298.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.02599, allocations: 11.98 kB / 298.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.417e-05/0.02608, allocations: 124.7 kB / 298.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02608, allocations: 0 / 298.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005293/0.0266, allocations: 172 kB / 298.4 MB, free: 10.77 MB / 282.7 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.0001015/0.02671, allocations: 100.3 kB / 298.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.02736, allocations: 0.8235 MB / 299.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.02737, allocations: 4 kB / 299.3 MB, free: 9.777 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.02787, allocations: 0.7406 MB / 300.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.02813, allocations: 92.64 kB / 300.2 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.02954, allocations: 1.079 MB / 301.2 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.02966, allocations: 146.8 kB / 301.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.02975, allocations: 36.38 kB / 301.4 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.0299, allocations: 127.3 kB / 301.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0299, allocations: 0 / 301.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of Templates: time 0.01136/0.04125, allocations: 9.006 MB / 310.5 MB, free: 14.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9993744078092277]