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.0009539/0.0009539, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.000951/0.000951, allocations: 167.2 kB / 25.7 MB, free: 8.441 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.8556/0.8556, allocations: 158.6 MB / 187.6 MB, free: 2.793 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 2.414e-06/2.414e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.702e-05, allocations: 6.25 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006008/0.006035, allocations: 4.391 MB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.008476, allocations: 1.313 MB / 257.3 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.008684, allocations: 23.81 kB / 257.3 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.008952, allocations: 174.6 kB / 257.5 MB, free: 1.301 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000674/0.009625, allocations: 373.6 kB / 257.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.009881, allocations: 211.4 kB / 258 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.01093, allocations: 1.673 MB / 259.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.01141, allocations: 0.5161 MB / 260.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007233/0.01213, allocations: 1.013 MB / 261.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007236/0.01285, allocations: 0.8263 MB / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.01301, allocations: 176 kB / 262.2 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.01318, allocations: 175.9 kB / 262.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.01346, allocations: 498.6 kB / 262.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.01385, allocations: 0.5495 MB / 263.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008727/0.01472, allocations: 1.312 MB / 264.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.01472, allocations: 0 / 264.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01472, allocations: 0 / 264.7 MB, free: 9.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.01474, allocations: 0 / 264.7 MB, free: 9.957 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.001561/0.0163, allocations: 1.584 MB / 266.3 MB, free: 8.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.01633, allocations: 11.98 kB / 266.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.01653, allocations: 184.7 kB / 266.5 MB, free: 8.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.01713, allocations: 0.5481 MB / 267.1 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.01717, allocations: 74.41 kB / 267.1 MB, free: 7.504 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.01728, allocations: 116.3 kB / 267.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.01814, allocations: 0.8361 MB / 268.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.01816, allocations: 7.875 kB / 268.1 MB, free: 6.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.01823, allocations: 44 kB / 268.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.936e-05/0.01827, allocations: 38.03 kB / 268.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.01869, allocations: 274 kB / 268.4 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.02146, allocations: 2.982 MB / 271.4 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.02189, allocations: 422.5 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.02227, allocations: 306 kB / 272.1 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.02231, allocations: 20.64 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.02261, allocations: 320.8 kB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 1.823e-06/0.02261, allocations: 0 / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.00183/0.02444, allocations: 0.923 MB / 273.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.02448, allocations: 89.77 kB / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.02487, allocations: 0.5936 MB / 274.1 MB, free: 264 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.02491, allocations: 37.7 kB / 274.1 MB, free: 220 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.02512, allocations: 434.5 kB / 274.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.02524, allocations: 237.8 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.02537, allocations: 126.6 kB / 274.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.02544, allocations: 333.9 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.02555, allocations: 65.97 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.02573, allocations: 251.6 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.02605, allocations: 354.2 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.02606, allocations: 0 / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005183/0.02658, allocations: 449.5 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.02659, allocations: 8 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.0266, allocations: 4 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.02694, allocations: 177.4 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.02718, allocations: 107.8 kB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.02903, allocations: 2.373 MB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.02923, allocations: 63.61 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.02926, allocations: 23.98 kB / 279.1 MB, free: 11.02 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.0001776/0.02943, allocations: 162.4 kB / 279.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.02952, allocations: 91.84 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.02962, allocations: 100.2 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.02962, allocations: 8 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.02963, allocations: 0 / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02963, allocations: 3.984 kB / 279.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.03077, allocations: 1.009 MB / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.03077, allocations: 0 / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.03097, allocations: 79.95 kB / 280.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/0.03126, allocations: 163.7 kB / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.03129, allocations: 8 kB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.03306, allocations: 2.379 MB / 283.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03306, allocations: 3.984 kB / 283.1 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.0337, allocations: 0.6025 MB / 283.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.03389, allocations: 127.3 kB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.03396, allocations: 20 kB / 283.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.03413, allocations: 19.98 kB / 283.8 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.03423, allocations: 72.47 kB / 283.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.03425, allocations: 15.98 kB / 283.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.03448, allocations: 296.5 kB / 284.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03448, allocations: 0 / 284.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004988/0.03497, allocations: 355.1 kB / 284.6 MB, free: 5.363 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.0001218/0.0351, allocations: 108.1 kB / 284.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006467/0.03574, allocations: 0.6138 MB / 285.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.03575, allocations: 12.06 kB / 285.3 MB, free: 4.609 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.03619, allocations: 475.8 kB / 285.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.0367, allocations: 247.1 kB / 286 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.0392, allocations: 2.179 MB / 288.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.03943, allocations: 331.8 kB / 288.5 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.03961, allocations: 91.14 kB / 288.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.03997, allocations: 241.2 kB / 288.8 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03997, allocations: 8 kB / 288.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of Templates: time 0.01901/0.05898, allocations: 18.21 MB / 307 MB, free: 14.79 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 -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.7872864892706275]