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.001013/0.001013, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001147/0.001147, allocations: 149.3 kB / 24.8 MB, free: 9.32 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.9774/0.9774, allocations: 173.3 MB / 201.4 MB, free: 9.199 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 3.957e-06/3.957e-06, allocations: 3.984 kB / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.295e-05, allocations: 6.312 kB / 268.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005696/0.005729, allocations: 4.111 MB / 272.5 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.007984, allocations: 0.9112 MB / 273.4 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004318/0.008416, allocations: 11.94 kB / 273.5 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.008697, allocations: 99 kB / 273.6 MB, free: 1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006789/0.009375, allocations: 214 kB / 273.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.009784, allocations: 171.7 kB / 273.9 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009205/0.0107, allocations: 0.7514 MB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.01103, allocations: 147.6 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007834/0.01181, allocations: 427 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.01222, allocations: 247.2 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.01232, allocations: 64 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.01242, allocations: 60 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.01257, allocations: 151.4 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.01282, allocations: 227.4 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.01343, allocations: 0.4981 MB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01343, allocations: 0 / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01343, allocations: 0 / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.01345, allocations: 0 / 276.5 MB, free: 14.06 MB / 266.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.00134/0.01479, allocations: 0.9475 MB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.01483, allocations: 8.922 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.015, allocations: 112.5 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.01543, allocations: 318.5 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.01546, allocations: 41.69 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.01554, allocations: 52.38 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.01614, allocations: 431.4 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01616, allocations: 192 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.0162, allocations: 28.12 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.01621, allocations: 12 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.01659, allocations: 210.7 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.01893, allocations: 1.977 MB / 280.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.01934, allocations: 411.9 kB / 281 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.01955, allocations: 237.6 kB / 281.2 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.01959, allocations: 12.5 kB / 281.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.01961, allocations: 41.88 kB / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 2.846e-06/0.01962, allocations: 0 / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.001816/0.02143, allocations: 1.217 MB / 282.5 MB, free: 7.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.02146, allocations: 67.78 kB / 282.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.02165, allocations: 362.5 kB / 282.9 MB, free: 7.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.02168, allocations: 37.7 kB / 283 MB, free: 7.289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.0218, allocations: 288 kB / 283.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.0219, allocations: 210.1 kB / 283.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/0.022, allocations: 104 kB / 283.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.02213, allocations: 0.5195 MB / 284.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.02221, allocations: 69.25 kB / 284.1 MB, free: 6.086 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.02232, allocations: 118.5 kB / 284.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.02252, allocations: 207.8 kB / 284.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.02252, allocations: 0 / 284.4 MB, free: 5.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000463/0.02299, allocations: 471.4 kB / 284.9 MB, free: 5.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.023, allocations: 7.984 kB / 284.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.02301, allocations: 4 kB / 284.9 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.02336, allocations: 218.4 kB / 285.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.02352, allocations: 59.91 kB / 285.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1097/0.1332, allocations: 8.712 MB / 293.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1334, allocations: 14.55 kB / 293.9 MB, free: 25.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1334, allocations: 11.48 kB / 293.9 MB, free: 25.64 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.0001331/0.1336, allocations: 187.8 kB / 294.1 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.1336, allocations: 69.59 kB / 294.2 MB, free: 25.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.1337, allocations: 64.08 kB / 294.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1337, allocations: 5.781 kB / 294.2 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.1337, allocations: 7.047 kB / 294.3 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1337, allocations: 3.781 kB / 294.3 MB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1348, allocations: 0.918 MB / 295.2 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1348, allocations: 0.9375 kB / 295.2 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.1349, allocations: 53.22 kB / 295.2 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.1353, allocations: 210.9 kB / 295.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1353, allocations: 14.91 kB / 295.4 MB, free: 25.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/0.1383, allocations: 8.72 MB / 304.2 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1383, allocations: 0 / 304.2 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.139, allocations: 0.7214 MB / 304.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1391, allocations: 78.86 kB / 305 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1391, allocations: 11.44 kB / 305 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1392, allocations: 14.89 kB / 305 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1394, allocations: 57.28 kB / 305 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.1394, allocations: 11.44 kB / 305.1 MB, free: 17.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1395, allocations: 247.4 kB / 305.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1395, allocations: 0 / 305.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006289/0.1402, allocations: 173.6 kB / 305.5 MB, free: 16.91 MB / 266.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.0001193/0.1403, allocations: 109.3 kB / 305.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008011/0.1411, allocations: 1.064 MB / 306.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1411, allocations: 0 / 306.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.1416, allocations: 0.9734 MB / 307.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1419, allocations: 86.8 kB / 307.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1436, allocations: 1.142 MB / 308.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.1437, allocations: 145.1 kB / 309 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.1438, allocations: 34.48 kB / 309 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.144, allocations: 152.5 kB / 309.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.144, allocations: 4 kB / 309.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01227/0.1563, allocations: 9.017 MB / 318.2 MB, free: 10.05 MB / 266.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 -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: 3.22334834234789]