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.001225/0.001225, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001397/0.001397, allocations: 168.7 kB / 25.75 MB, free: 8.582 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.9999/0.9999, allocations: 158.6 MB / 187.6 MB, free: 2.895 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 2.274e-06/2.274e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.404e-05, allocations: 5.828 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004027/0.004061, allocations: 3.625 MB / 254.8 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.006019, allocations: 1.037 MB / 255.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.006278, allocations: 19.81 kB / 255.8 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.006521, allocations: 107.1 kB / 255.9 MB, free: 2.965 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009795/0.007501, allocations: 258.2 kB / 256.2 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.007782, allocations: 151.7 kB / 256.3 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007329/0.008515, allocations: 0.988 MB / 257.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.008896, allocations: 302.9 kB / 257.6 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.009367, allocations: 0.5886 MB / 258.2 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.009892, allocations: 474.9 kB / 258.7 MB, free: 208 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.009987, allocations: 96 kB / 258.7 MB, free: 112 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.01008, allocations: 100 kB / 258.8 MB, free: 12 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.01029, allocations: 291.1 kB / 259.1 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.01056, allocations: 331.2 kB / 259.5 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.01123, allocations: 0.771 MB / 260.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.01124, allocations: 0 / 260.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01124, allocations: 0 / 260.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.01125, allocations: 0 / 260.2 MB, free: 14.63 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.001688/0.01294, allocations: 1.474 MB / 261.7 MB, free: 13.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.01298, allocations: 11.98 kB / 261.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.01321, allocations: 152.3 kB / 261.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.01381, allocations: 0.4993 MB / 262.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.01384, allocations: 45.69 kB / 262.4 MB, free: 12.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.01392, allocations: 72.33 kB / 262.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.01468, allocations: 0.5758 MB / 263 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.0147, allocations: 0 / 263 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.01475, allocations: 31.98 kB / 263.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/0.01506, allocations: 25.31 kB / 263.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.01551, allocations: 239.6 kB / 263.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.01788, allocations: 2.398 MB / 265.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.0183, allocations: 284.2 kB / 266 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.0186, allocations: 144.3 kB / 266.2 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.01864, allocations: 12.31 kB / 266.2 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.01901, allocations: 265.9 kB / 266.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.103e-06/0.01901, allocations: 4 kB / 266.4 MB, free: 8.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001404/0.02041, allocations: 0.6521 MB / 267.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.02048, allocations: 114.8 kB / 267.2 MB, free: 7.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.02091, allocations: 0.5104 MB / 267.7 MB, free: 6.836 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.02095, allocations: 33.7 kB / 267.7 MB, free: 6.797 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.02117, allocations: 415.3 kB / 268.1 MB, free: 6.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/0.02126, allocations: 150.8 kB / 268.3 MB, free: 6.234 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.02137, allocations: 95.8 kB / 268.4 MB, free: 6.133 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.02156, allocations: 0.5547 MB / 268.9 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.02168, allocations: 56.95 kB / 269 MB, free: 5.512 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.02192, allocations: 292.6 kB / 269.3 MB, free: 5.137 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.0223, allocations: 337.8 kB / 269.6 MB, free: 4.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.0223, allocations: 4 kB / 269.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006125/0.02291, allocations: 428.3 kB / 270 MB, free: 4.297 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.02295, allocations: 8 kB / 270 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.02296, allocations: 4 kB / 270 MB, free: 4.285 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006761/0.02363, allocations: 100.1 kB / 270.1 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.02383, allocations: 79.83 kB / 270.2 MB, free: 4.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.02567, allocations: 2.545 MB / 272.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.02586, allocations: 63.56 kB / 272.8 MB, free: 1.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.02588, allocations: 12 kB / 272.8 MB, free: 1.367 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.0001773/0.02606, allocations: 192.5 kB / 273 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.02613, allocations: 75.62 kB / 273.1 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.0262, allocations: 61.19 kB / 273.2 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.0262, allocations: 12 kB / 273.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.02621, allocations: 3.938 kB / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.02621, allocations: 3.984 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.02742, allocations: 1.161 MB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.02743, allocations: 0 / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.02756, allocations: 51.91 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.02777, allocations: 99.62 kB / 274.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.0278, allocations: 8 kB / 274.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.02936, allocations: 2.513 MB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02936, allocations: 0 / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.03028, allocations: 0.5748 MB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.03043, allocations: 111.5 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.03047, allocations: 4 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.03061, allocations: 23.98 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.03071, allocations: 55.98 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.03073, allocations: 11.98 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002498/0.03098, allocations: 338.7 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.03098, allocations: 8 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.03146, allocations: 203.5 kB / 278.3 MB, free: 11.66 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.0001324/0.03159, allocations: 111.2 kB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.03225, allocations: 0.5088 MB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.03225, allocations: 0 / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.03258, allocations: 384.8 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.03303, allocations: 146.6 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.03502, allocations: 1.323 MB / 280.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.03519, allocations: 238.2 kB / 281 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.03535, allocations: 80.62 kB / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.03543, allocations: 44.44 kB / 281.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of SimCode: time 1.773e-06/0.03543, allocations: 0 / 281.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of Templates: time 0.01258/0.04801, allocations: 9.614 MB / 290.8 MB, free: 15.16 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.9399065629113466]