Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001811/0.001811, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001904/0.001904, allocations: 161.6 kB / 25.03 MB, free: 8.93 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 1.332/1.332, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.025e-05, allocations: 6.312 kB / 250.4 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007076/0.007106, allocations: 4.437 MB / 254.8 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.01007, allocations: 1.255 MB / 256.1 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003852/0.01045, allocations: 23.81 kB / 256.1 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.01093, allocations: 174.6 kB / 256.3 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.01213, allocations: 377.5 kB / 256.6 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.01259, allocations: 207.6 kB / 256.9 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.01474, allocations: 1.665 MB / 258.5 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008799/0.01562, allocations: 0.5083 MB / 259 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.01722, allocations: 1.002 MB / 260 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.01868, allocations: 0.8301 MB / 260.9 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.01896, allocations: 172 kB / 261 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.01928, allocations: 176 kB / 261.2 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005461/0.01982, allocations: 0.4986 MB / 261.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007661/0.02059, allocations: 0.5417 MB / 262.2 MB, free: 7.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.02332, allocations: 2.301 MB / 264.5 MB, free: 5.684 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.02333, allocations: 0 / 264.5 MB, free: 5.684 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02333, allocations: 0 / 264.5 MB, free: 5.684 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.357e-05/0.02337, allocations: 0 / 264.5 MB, free: 5.684 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005106/0.02848, allocations: 2.614 MB / 267.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.02852, allocations: 11.98 kB / 267.2 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.02895, allocations: 240 kB / 267.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.03068, allocations: 0.8208 MB / 268.2 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.03077, allocations: 74.41 kB / 268.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.03098, allocations: 104.4 kB / 268.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.03398, allocations: 1.561 MB / 270 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.03402, allocations: 7.891 kB / 270 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.03414, allocations: 47.97 kB / 270 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/0.0342, allocations: 42.03 kB / 270 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.03668, allocations: 1.249 MB / 271.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009514/0.04619, allocations: 5.201 MB / 276.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.04784, allocations: 0.8334 MB / 277.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.04914, allocations: 0.6017 MB / 277.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.0492, allocations: 12.66 kB / 277.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.05032, allocations: 0.6095 MB / 278.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.05032, allocations: 0 / 278.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.006324/0.05664, allocations: 2.167 MB / 280.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.05672, allocations: 85.77 kB / 280.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.05828, allocations: 1.054 MB / 281.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.05835, allocations: 41.7 kB / 281.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006684/0.05902, allocations: 0.64 MB / 282.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.05931, allocations: 262 kB / 282.8 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.0596, allocations: 160.3 kB / 283 MB, free: 2.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003164/0.05992, allocations: 0.5316 MB / 283.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.06058, allocations: 325.8 kB / 283.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008936/0.06148, allocations: 0.5804 MB / 284.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.06297, allocations: 0.8548 MB / 285.2 MB, free: 352 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.06297, allocations: 0 / 285.2 MB, free: 352 kB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002224/0.06519, allocations: 1.16 MB / 286.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.06521, allocations: 4 kB / 286.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.06522, allocations: 4 kB / 286.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/0.06619, allocations: 373.7 kB / 286.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.06671, allocations: 111.8 kB / 286.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/0.07339, allocations: 4.724 MB / 291.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.07392, allocations: 83.52 kB / 291.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.07398, allocations: 20.06 kB / 291.7 MB, free: 9.746 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007313/0.07471, allocations: 478.2 kB / 292.2 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.07491, allocations: 119.4 kB / 292.3 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.07519, allocations: 104.2 kB / 292.4 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.0752, allocations: 8 kB / 292.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.0752, allocations: 4 kB / 292.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.07522, allocations: 7.922 kB / 292.4 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.07982, allocations: 2.384 MB / 294.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.07983, allocations: 0 / 294.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.08025, allocations: 87.88 kB / 294.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008543/0.08111, allocations: 347.6 kB / 295.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.08117, allocations: 19.98 kB / 295.2 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00631/0.08748, allocations: 4.505 MB / 299.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.08748, allocations: 4.062 kB / 299.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1182/0.2057, allocations: 1.645 MB / 301.4 MB, free: 56.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/0.2065, allocations: 196.1 kB / 301.6 MB, free: 56.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.2066, allocations: 15.22 kB / 301.6 MB, free: 56.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.2071, allocations: 39.8 kB / 301.6 MB, free: 56.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/0.2074, allocations: 96.8 kB / 301.7 MB, free: 56.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.2074, allocations: 22.2 kB / 301.8 MB, free: 56.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008527/0.2083, allocations: 0.6633 MB / 302.4 MB, free: 56.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2083, allocations: 0 / 302.4 MB, free: 56.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009865/0.2092, allocations: 352.7 kB / 302.8 MB, free: 56.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.2094, allocations: 128.3 kB / 302.9 MB, free: 56.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.2114, allocations: 1.19 MB / 304.1 MB, free: 55.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2114, allocations: 0.8438 kB / 304.1 MB, free: 55.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.2126, allocations: 0.8054 MB / 304.9 MB, free: 55.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.2136, allocations: 246.8 kB / 305.1 MB, free: 55.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.2179, allocations: 2.436 MB / 307.6 MB, free: 54.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009146/0.2188, allocations: 0.7267 MB / 308.3 MB, free: 54.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.2193, allocations: 127.2 kB / 308.4 MB, free: 54.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.2195, allocations: 64.06 kB / 308.5 MB, free: 54.67 MB / 282.7 MB Notification: Performance of SimCode: time 1.864e-06/0.2195, allocations: 0 / 308.5 MB, free: 54.67 MB / 282.7 MB Notification: Performance of Templates: time 0.02323/0.2427, allocations: 17.36 MB / 325.8 MB, free: 41.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0006258060457185]