Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.0009655/0.0009655, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009169/0.0009169, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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.9808/0.9808, allocations: 177 MB / 205.2 MB, free: 5.008 MB / 186.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.45e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004268/0.004282, allocations: 4.537 MB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.005886, allocations: 1.343 MB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.00609, allocations: 31.75 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.006354, allocations: 174.6 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.006995, allocations: 381.5 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.007256, allocations: 223.5 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.00828, allocations: 1.696 MB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.008802, allocations: 0.595 MB / 282.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.009536, allocations: 1.029 MB / 283.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009828/0.01052, allocations: 0.8418 MB / 284.3 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.01066, allocations: 176 kB / 284.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.01085, allocations: 184 kB / 284.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.01112, allocations: 0.4986 MB / 285.1 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.01147, allocations: 0.5456 MB / 285.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008967/0.01237, allocations: 1.34 MB / 287 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.01237, allocations: 0 / 287 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.01237, allocations: 0 / 287 MB, free: 3.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.01238, allocations: 8 kB / 287 MB, free: 3.309 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001567/0.01395, allocations: 1.615 MB / 288.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01398, allocations: 15.98 kB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.01438, allocations: 236.7 kB / 288.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.01539, allocations: 0.6339 MB / 289.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.01546, allocations: 78.44 kB / 289.6 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.01563, allocations: 104.4 kB / 289.7 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1154/0.1311, allocations: 0.8409 MB / 290.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.1311, allocations: 3.953 kB / 290.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/0.1312, allocations: 44.58 kB / 290.6 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/0.1313, allocations: 45.11 kB / 290.6 MB, free: 24.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.1319, allocations: 269.3 kB / 290.9 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/0.1357, allocations: 3.003 MB / 293.9 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.1363, allocations: 419.3 kB / 294.3 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.1368, allocations: 306.8 kB / 294.6 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.1368, allocations: 16.61 kB / 294.6 MB, free: 23.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.1372, allocations: 321.1 kB / 294.9 MB, free: 23.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.745e-06/0.1372, allocations: 1.219 kB / 294.9 MB, free: 23.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002645/0.1399, allocations: 0.9478 MB / 295.9 MB, free: 23.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.1399, allocations: 86.05 kB / 296 MB, free: 23.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005926/0.1405, allocations: 0.6179 MB / 296.6 MB, free: 23.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.1405, allocations: 40.86 kB / 296.6 MB, free: 23.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.1408, allocations: 440.4 kB / 297 MB, free: 22.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1409, allocations: 241.3 kB / 297.3 MB, free: 22.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.141, allocations: 123.6 kB / 297.4 MB, free: 22.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.1411, allocations: 335.6 kB / 297.7 MB, free: 22.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1412, allocations: 71.02 kB / 297.8 MB, free: 22.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.1414, allocations: 239.8 kB / 298 MB, free: 22.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.1419, allocations: 360 kB / 298.4 MB, free: 22.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1419, allocations: 1.969 kB / 298.4 MB, free: 22.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007209/0.1426, allocations: 451.5 kB / 298.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1426, allocations: 7.031 kB / 298.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.1426, allocations: 4 kB / 298.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004619/0.1431, allocations: 177.3 kB / 299 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.1435, allocations: 122.2 kB / 299.1 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.1473, allocations: 2.374 MB / 301.5 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.1476, allocations: 69.83 kB / 301.6 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.1477, allocations: 21.12 kB / 301.6 MB, free: 20.51 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_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_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.0002003/0.1479, allocations: 161.9 kB / 301.8 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.148, allocations: 78.89 kB / 301.8 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1481, allocations: 114.6 kB / 301.9 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.1481, allocations: 8.375 kB / 302 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1481, allocations: 0 / 302 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1481, allocations: 2.906 kB / 302 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.1495, allocations: 1.007 MB / 303 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1495, allocations: 4.812 kB / 303 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1498, allocations: 87.16 kB / 303.1 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/0.1501, allocations: 166.6 kB / 303.2 MB, free: 19.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.1502, allocations: 18.75 kB / 303.2 MB, free: 19.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.1518, allocations: 2.381 MB / 305.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1518, allocations: 0 / 305.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.1524, allocations: 0.6144 MB / 306.2 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.1526, allocations: 126.8 kB / 306.4 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.1527, allocations: 13.34 kB / 306.4 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1528, allocations: 21.77 kB / 306.4 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.153, allocations: 73.72 kB / 306.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.153, allocations: 14.47 kB / 306.5 MB, free: 17.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1532, allocations: 310.8 kB / 306.8 MB, free: 17.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1532, allocations: 0 / 306.8 MB, free: 17.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000515/0.1537, allocations: 354.9 kB / 307.1 MB, free: 17.7 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_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 (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.0001066/0.1538, allocations: 110.4 kB / 307.2 MB, free: 17.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006132/0.1544, allocations: 0.6098 MB / 307.8 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.1544, allocations: 7.688 kB / 307.8 MB, free: 17.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.1548, allocations: 479 kB / 308.3 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.1553, allocations: 246.2 kB / 308.6 MB, free: 16.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.1576, allocations: 2.242 MB / 310.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.1578, allocations: 339.8 kB / 311.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.158, allocations: 91.27 kB / 311.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.1583, allocations: 253.2 kB / 311.5 MB, free: 14 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1583, allocations: 0 / 311.5 MB, free: 14 MB / 266.7 MB Notification: Performance of Templates: time 0.01796/0.1763, allocations: 18.36 MB / 329.8 MB, free: 11.99 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.9715728210285306]