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.001496/0.001496, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001511/0.001511, allocations: 167.1 kB / 25.02 MB, free: 9.438 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.412/1.412, allocations: 158.6 MB / 186.8 MB, free: 2.895 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.913e-06/1.913e-06, allocations: 0 / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.341e-05, allocations: 10.25 kB / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00979/0.009823, allocations: 4.116 MB / 254.5 MB, free: 15.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.01371, allocations: 1.239 MB / 255.7 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.01411, allocations: 27.81 kB / 255.8 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.01469, allocations: 170.6 kB / 255.9 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.01631, allocations: 377.5 kB / 256.3 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.01704, allocations: 207.6 kB / 256.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.01995, allocations: 1.665 MB / 258.2 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.0212, allocations: 0.5121 MB / 258.7 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.02314, allocations: 0.9901 MB / 259.7 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.02501, allocations: 0.7793 MB / 260.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003873/0.0254, allocations: 176 kB / 260.6 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000458/0.02586, allocations: 176 kB / 260.8 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007675/0.02663, allocations: 0.4907 MB / 261.3 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.02771, allocations: 0.5378 MB / 261.8 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00392/0.03163, allocations: 2.283 MB / 264.1 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.03163, allocations: 0 / 264.1 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.03163, allocations: 0 / 264.1 MB, free: 6.113 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.79e-05/0.03166, allocations: 0 / 264.1 MB, free: 6.113 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.005949/0.03761, allocations: 2.009 MB / 266.1 MB, free: 4.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.03766, allocations: 11.98 kB / 266.1 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007049/0.03837, allocations: 243.9 kB / 266.4 MB, free: 3.809 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.04095, allocations: 0.9001 MB / 267.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.04107, allocations: 78.41 kB / 267.3 MB, free: 2.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.04137, allocations: 108.4 kB / 267.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/0.04564, allocations: 1.567 MB / 269 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.04569, allocations: 7.875 kB / 269 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.04587, allocations: 44 kB / 269.1 MB, free: 1.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.87e-05/0.04597, allocations: 46.02 kB / 269.1 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.05008, allocations: 1.425 MB / 270.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.06123, allocations: 4.353 MB / 274.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.06367, allocations: 0.9229 MB / 275.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.06566, allocations: 0.6926 MB / 276.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.684e-05/0.06572, allocations: 16.64 kB / 276.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/0.06738, allocations: 0.6374 MB / 277.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.076e-06/0.06739, allocations: 0 / 277.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.009825/0.07721, allocations: 2.395 MB / 279.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.07733, allocations: 89.7 kB / 279.6 MB, free: 6.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.07944, allocations: 0.9108 MB / 280.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.07955, allocations: 37.7 kB / 280.6 MB, free: 5.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008304/0.08038, allocations: 0.5396 MB / 281.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.08075, allocations: 238 kB / 281.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.08112, allocations: 130.6 kB / 281.5 MB, free: 4.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002511/0.08137, allocations: 334 kB / 281.8 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.08253, allocations: 413.7 kB / 282.2 MB, free: 3.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.08391, allocations: 0.5815 MB / 282.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/0.08633, allocations: 0.9483 MB / 283.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.08633, allocations: 0 / 283.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003833/0.09017, allocations: 1.31 MB / 285.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.09019, allocations: 4 kB / 285.1 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.09021, allocations: 4 kB / 285.1 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.09164, allocations: 398.4 kB / 285.5 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.0924, allocations: 115.9 kB / 285.6 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009568/0.102, allocations: 4.329 MB / 289.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.103, allocations: 87.56 kB / 290 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.1031, allocations: 28 kB / 290 MB, free: 11.56 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.001261/0.1044, allocations: 495.4 kB / 290.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.1047, allocations: 119.4 kB / 290.6 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.1051, allocations: 116.2 kB / 290.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.1051, allocations: 8 kB / 290.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1051, allocations: 0 / 290.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.1051, allocations: 7.922 kB / 290.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/0.1116, allocations: 2.263 MB / 293 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.1117, allocations: 0 / 293 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.1124, allocations: 91.88 kB / 293.1 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.1139, allocations: 388.8 kB / 293.5 MB, free: 8.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.114, allocations: 12 kB / 293.5 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.1242, allocations: 4.317 MB / 297.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1242, allocations: 0 / 297.8 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/0.1283, allocations: 1.964 MB / 299.8 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.129, allocations: 219.2 kB / 300 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.1292, allocations: 16 kB / 300 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.1297, allocations: 47.94 kB / 300 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/0.13, allocations: 76.45 kB / 300.1 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.113e-05/0.13, allocations: 23.98 kB / 300.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.1312, allocations: 0.6473 MB / 300.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1312, allocations: 0 / 300.8 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001222/0.1325, allocations: 347.2 kB / 301.1 MB, free: 272 kB / 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.0002451/0.1327, allocations: 130.9 kB / 301.3 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.1502/0.2829, allocations: 1.246 MB / 302.5 MB, free: 58.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2829, allocations: 0 / 302.5 MB, free: 58.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.2852, allocations: 0.7782 MB / 303.3 MB, free: 58.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.2873, allocations: 248.4 kB / 303.5 MB, free: 58.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008267/0.2956, allocations: 2.629 MB / 306.2 MB, free: 56.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.2972, allocations: 0.7848 MB / 306.9 MB, free: 56.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009635/0.2981, allocations: 171.3 kB / 307.1 MB, free: 56.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.2985, allocations: 60.94 kB / 307.2 MB, free: 56.66 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2985, allocations: 0 / 307.2 MB, free: 56.66 MB / 282.7 MB Notification: Performance of Templates: time 0.04257/0.341, allocations: 17.3 MB / 324.5 MB, free: 44.07 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] 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.048058727057651]