Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.00144/0.00144, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 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.001509/0.001509, allocations: 180.2 kB / 26.4 MB, free: 7.961 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9648/0.9648, allocations: 158.6 MB / 188.3 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.697e-05, allocations: 6.25 kB / 252.3 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004248/0.004275, allocations: 3.571 MB / 255.8 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.006043, allocations: 1.029 MB / 256.9 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.006251, allocations: 19.81 kB / 256.9 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.00646, allocations: 111.1 kB / 257 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.007088, allocations: 262.3 kB / 257.3 MB, free: 2.191 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.007344, allocations: 143.7 kB / 257.4 MB, free: 2.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007821/0.008126, allocations: 0.9841 MB / 258.4 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.008511, allocations: 306.9 kB / 258.7 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.009102, allocations: 0.5925 MB / 259.3 MB, free: 160 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.009643, allocations: 474.9 kB / 259.7 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.126e-05/0.009734, allocations: 100 kB / 259.8 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.00983, allocations: 96 kB / 259.9 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.01002, allocations: 299.1 kB / 260.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.01027, allocations: 331.2 kB / 260.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006231/0.01089, allocations: 0.7593 MB / 261.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.0109, allocations: 0 / 261.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.058e-06/0.0109, allocations: 4 kB / 261.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.01091, allocations: 0 / 261.3 MB, free: 14.12 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001805/0.01272, allocations: 1.469 MB / 262.8 MB, free: 12.6 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01275, allocations: 11.98 kB / 262.8 MB, free: 12.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.01291, allocations: 148.3 kB / 262.9 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.01335, allocations: 474 kB / 263.4 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.01338, allocations: 49.67 kB / 263.4 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.01345, allocations: 68.33 kB / 263.5 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.01403, allocations: 0.5445 MB / 264.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01404, allocations: 0 / 264.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.01409, allocations: 28 kB / 264.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.01412, allocations: 29.3 kB / 264.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.01439, allocations: 185 kB / 264.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.01634, allocations: 2.218 MB / 266.5 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.01663, allocations: 248.2 kB / 266.8 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.01679, allocations: 140.2 kB / 266.9 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.01682, allocations: 8.328 kB / 266.9 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.01709, allocations: 249.8 kB / 267.1 MB, free: 8.031 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.01709, allocations: 0 / 267.1 MB, free: 8.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.000975/0.01807, allocations: 0.5272 MB / 267.7 MB, free: 7.492 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.01812, allocations: 110.8 kB / 267.8 MB, free: 7.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.01846, allocations: 0.4946 MB / 268.3 MB, free: 6.848 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.01849, allocations: 41.64 kB / 268.3 MB, free: 6.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.0187, allocations: 423.3 kB / 268.7 MB, free: 6.379 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.01878, allocations: 150.8 kB / 268.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.01888, allocations: 95.75 kB / 269 MB, free: 6.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004275/0.01931, allocations: 0.5585 MB / 269.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.01938, allocations: 44.95 kB / 269.6 MB, free: 5.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.01954, allocations: 272.6 kB / 269.8 MB, free: 5.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.01979, allocations: 321.8 kB / 270.2 MB, free: 4.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.01979, allocations: 3.938 kB / 270.2 MB, free: 4.766 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004212/0.02021, allocations: 380.6 kB / 270.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.02023, allocations: 8 kB / 270.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.02023, allocations: 4 kB / 270.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.02044, allocations: 91.55 kB / 270.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.0206, allocations: 71.91 kB / 270.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.02207, allocations: 2.475 MB / 273.2 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.02222, allocations: 39.7 kB / 273.2 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.02224, allocations: 20 kB / 273.2 MB, free: 1.566 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.02239, allocations: 196.3 kB / 273.4 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.02246, allocations: 71.62 kB / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.02253, allocations: 65.19 kB / 273.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02253, allocations: 4 kB / 273.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.02253, allocations: 4 kB / 273.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.02254, allocations: 8.062 kB / 273.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008966/0.02344, allocations: 0.9973 MB / 274.6 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.02344, allocations: 0 / 274.6 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.02355, allocations: 39.92 kB / 274.6 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.02372, allocations: 87.59 kB / 274.7 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.02375, allocations: 11.94 kB / 274.7 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.02526, allocations: 2.434 MB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02526, allocations: 4 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.02577, allocations: 0.5279 MB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.02588, allocations: 103.5 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.02592, allocations: 8 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.02605, allocations: 19.92 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.02611, allocations: 39.92 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.02613, allocations: 12 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.02632, allocations: 314.7 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02632, allocations: 0 / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004181/0.02674, allocations: 203.5 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000118/0.02686, allocations: 119.2 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.02737, allocations: 489.7 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02737, allocations: 0 / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.02766, allocations: 377 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.02807, allocations: 141.9 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.02971, allocations: 1.315 MB / 280.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.02987, allocations: 238.2 kB / 281 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.03, allocations: 56.77 kB / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.03022, allocations: 202.1 kB / 281.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03022, allocations: 0 / 281.3 MB, free: 9.227 MB / 266.7 MB Notification: Performance of Templates: time 0.01312/0.04334, allocations: 10.39 MB / 291.7 MB, free: 14.88 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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.9072223673574626]