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.001383/0.001383, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.001002/0.001002, allocations: 158.9 kB / 25.69 MB, free: 8.77 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.8614/0.8614, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.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.222e-06/1.222e-06, allocations: 0 / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.984e-05, allocations: 6.312 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004361/0.004381, allocations: 4.445 MB / 256 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.00676, allocations: 1.309 MB / 257.3 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.007056, allocations: 23.81 kB / 257.4 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.007362, allocations: 174.6 kB / 257.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008253/0.008187, allocations: 381.5 kB / 257.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.008573, allocations: 199.6 kB / 258.1 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.009898, allocations: 1.68 MB / 259.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005865/0.01048, allocations: 0.5161 MB / 260.3 MB, free: 14.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.01152, allocations: 1.006 MB / 261.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.01257, allocations: 0.834 MB / 262.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.01284, allocations: 172 kB / 262.3 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.01302, allocations: 176 kB / 262.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.01332, allocations: 0.4908 MB / 263 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004226/0.01374, allocations: 0.5418 MB / 263.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009889/0.01473, allocations: 1.32 MB / 264.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.01474, allocations: 0 / 264.8 MB, free: 9.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01474, allocations: 4 kB / 264.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.01475, allocations: 0 / 264.8 MB, free: 9.871 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.001642/0.0164, allocations: 1.576 MB / 266.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.01643, allocations: 15.98 kB / 266.4 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.01664, allocations: 180.8 kB / 266.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006249/0.01726, allocations: 0.5558 MB / 267.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.0173, allocations: 74.41 kB / 267.2 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.01741, allocations: 112.4 kB / 267.3 MB, free: 7.309 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008822/0.01829, allocations: 0.84 MB / 268.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.01832, allocations: 3.938 kB / 268.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/0.01838, allocations: 44 kB / 268.2 MB, free: 6.355 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.481e-05/0.01842, allocations: 42.03 kB / 268.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.01884, allocations: 273.9 kB / 268.5 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.02187, allocations: 2.975 MB / 271.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.02233, allocations: 426.4 kB / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.02274, allocations: 313.9 kB / 272.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.02278, allocations: 12.66 kB / 272.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.02315, allocations: 312.9 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 3.546e-06/0.02315, allocations: 0 / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.002096/0.02525, allocations: 0.9269 MB / 273.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.02531, allocations: 85.77 kB / 273.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005792/0.02589, allocations: 0.5936 MB / 274.2 MB, free: 188 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.02594, allocations: 41.69 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.0262, allocations: 434.6 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.02635, allocations: 237.9 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.02649, allocations: 126.6 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.02657, allocations: 329.9 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.02668, allocations: 73.97 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.02687, allocations: 251.5 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.0272, allocations: 354.1 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.02721, allocations: 3.938 kB / 276 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005339/0.02774, allocations: 445.4 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.02776, allocations: 8 kB / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.02777, allocations: 4 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.02815, allocations: 177.4 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.02842, allocations: 116.2 kB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.03099, allocations: 2.38 MB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.03131, allocations: 55.61 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.03136, allocations: 28 kB / 279.2 MB, free: 10.93 MB / 266.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_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: 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.0002827/0.03164, allocations: 162.5 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.03176, allocations: 83.86 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.0319, allocations: 108.2 kB / 279.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.03191, allocations: 8.062 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.03191, allocations: 4 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.03192, allocations: 3.984 kB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.03356, allocations: 1.009 MB / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.03356, allocations: 0 / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.03385, allocations: 83.88 kB / 280.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003976/0.03425, allocations: 159.8 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.03429, allocations: 12 kB / 280.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/0.03668, allocations: 2.387 MB / 283.2 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03668, allocations: 4 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000864/0.03754, allocations: 0.6024 MB / 283.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.03778, allocations: 123.3 kB / 283.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.03787, allocations: 16 kB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.03811, allocations: 23.97 kB / 283.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.03826, allocations: 72.53 kB / 284 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.0383, allocations: 16 kB / 284 MB, free: 5.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003122/0.03861, allocations: 304.5 kB / 284.3 MB, free: 5.598 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03861, allocations: 0 / 284.3 MB, free: 5.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008011/0.03941, allocations: 359.1 kB / 284.7 MB, free: 5.246 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001615/0.03957, allocations: 104.1 kB / 284.8 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008819/0.04045, allocations: 0.6054 MB / 285.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.04046, allocations: 8 kB / 285.4 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.04103, allocations: 480.5 kB / 285.9 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.04173, allocations: 247.1 kB / 286.1 MB, free: 3.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.04516, allocations: 2.179 MB / 288.3 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.04548, allocations: 331.7 kB / 288.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.04576, allocations: 99.12 kB / 288.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.04624, allocations: 245.2 kB / 288.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.04624, allocations: 0 / 288.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of Templates: time 0.02555/0.07179, allocations: 18.21 MB / 307.2 MB, free: 14.68 MB / 298.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 -s gbode -gbm=radauIIA3 -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","",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.7828738507814705]