Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.000854/0.000854, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002213, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007327/0.0007327, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.001703, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9669/0.9669, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08535/1.052, allocations: 53.88 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.997e-05, allocations: 5.688 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006321/0.006341, allocations: 3.713 MB / 248.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004812/0.01115, allocations: 1.114 MB / 250 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.01138, allocations: 19.88 kB / 250.1 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.0116, allocations: 115 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005965/0.0122, allocations: 266.2 kB / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.01248, allocations: 155.6 kB / 250.6 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008531/0.01333, allocations: 1.012 MB / 251.6 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006509/0.01984, allocations: 355.5 kB / 251.9 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007757/0.02061, allocations: 0.6794 MB / 252.6 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.0212, allocations: 474.9 kB / 253.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.02132, allocations: 108 kB / 253.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.0215, allocations: 100 kB / 253.3 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.02169, allocations: 239.4 kB / 253.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.02196, allocations: 275.4 kB / 253.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007211/0.02268, allocations: 0.7281 MB / 254.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.0227, allocations: 0 / 254.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0227, allocations: 0 / 254.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.02271, allocations: 0 / 254.5 MB, free: 4.164 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004562/0.02727, allocations: 1.221 MB / 255.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.02731, allocations: 8.625 kB / 255.8 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.02767, allocations: 221.9 kB / 256 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.02824, allocations: 429.2 kB / 256.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.02828, allocations: 53.69 kB / 256.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.02837, allocations: 64.38 kB / 256.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/0.032, allocations: 0.5452 MB / 257.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.03201, allocations: 0 / 257.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.03205, allocations: 27.98 kB / 257.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.03209, allocations: 29.31 kB / 257.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.03232, allocations: 165 kB / 257.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.03397, allocations: 1.736 MB / 259 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.03446, allocations: 223.4 kB / 259.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.03461, allocations: 121.4 kB / 259.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.03464, allocations: 8.328 kB / 259.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.03489, allocations: 231.6 kB / 259.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.966e-06/0.03489, allocations: 4 kB / 259.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.000902/0.03579, allocations: 476.4 kB / 260 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.03583, allocations: 89.11 kB / 260.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.03608, allocations: 407.2 kB / 260.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.03611, allocations: 37.7 kB / 260.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.03624, allocations: 313.8 kB / 260.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.03631, allocations: 138.8 kB / 261 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.0364, allocations: 82.16 kB / 261.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.03651, allocations: 382.6 kB / 261.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.03657, allocations: 36.98 kB / 261.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.03671, allocations: 206.9 kB / 261.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.03694, allocations: 278.5 kB / 262 MB, free: 12.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.03694, allocations: 4 kB / 262 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003466/0.03729, allocations: 305 kB / 262.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.03731, allocations: 15.92 kB / 262.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.03732, allocations: 4 kB / 262.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.03755, allocations: 95.48 kB / 262.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.03774, allocations: 83.89 kB / 262.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.03913, allocations: 1.879 MB / 264.3 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.0393, allocations: 43.86 kB / 264.4 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.03932, allocations: 20 kB / 264.4 MB, free: 9.758 MB / 266.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.03948, allocations: 156.5 kB / 264.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.03953, allocations: 47.94 kB / 264.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.466e-05/0.03961, allocations: 65.41 kB / 264.7 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.03961, allocations: 7.984 kB / 264.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.03961, allocations: 0 / 264.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.03962, allocations: 3.938 kB / 264.7 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008876/0.04051, allocations: 0.7766 MB / 265.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.04051, allocations: 4 kB / 265.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.04064, allocations: 47.91 kB / 265.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.04075, allocations: 79.53 kB / 265.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.04092, allocations: 91.48 kB / 265.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.04094, allocations: 8.031 kB / 265.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.04232, allocations: 1.816 MB / 267.5 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.04233, allocations: 7.938 kB / 267.5 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004674/0.04279, allocations: 447.2 kB / 267.9 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.04284, allocations: 15.94 kB / 268 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.04295, allocations: 15.98 kB / 268 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.04303, allocations: 39.92 kB / 268 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.04304, allocations: 11.94 kB / 268 MB, free: 5.973 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.04319, allocations: 184.4 kB / 268.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04319, allocations: 8 kB / 268.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004794/0.04367, allocations: 203.5 kB / 268.4 MB, free: 5.586 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001415/0.04381, allocations: 103.5 kB / 268.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.04431, allocations: 414.9 kB / 268.9 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/0.04432, allocations: 8 kB / 268.9 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.04459, allocations: 311.4 kB / 269.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.04534, allocations: 1.458 MB / 270.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/0.04942, allocations: 1.427 MB / 272.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.04957, allocations: 214.2 kB / 272.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.04971, allocations: 52.72 kB / 272.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.04994, allocations: 173.2 kB / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.04994, allocations: 0 / 272.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01432/0.06426, allocations: 10.73 MB / 283.3 MB, free: 6.547 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6738250739872456]