Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001084/0.001084, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0013/0.0013, allocations: 167.1 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9828/0.9828, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.543e-05, allocations: 9.625 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006114/0.006139, allocations: 4.478 MB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.008987, allocations: 1.297 MB / 279.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.009521, allocations: 35.75 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.009862, allocations: 170.6 kB / 279.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000835/0.0107, allocations: 385.5 kB / 279.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.01106, allocations: 223.5 kB / 280 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.01218, allocations: 1.665 MB / 281.7 MB, free: 9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005684/0.01275, allocations: 0.5793 MB / 282.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.01375, allocations: 1.025 MB / 283.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008653/0.01462, allocations: 0.8535 MB / 284.1 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.01481, allocations: 176 kB / 284.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.01503, allocations: 180 kB / 284.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.01533, allocations: 0.4986 MB / 285 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.01576, allocations: 0.5573 MB / 285.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.01677, allocations: 1.336 MB / 286.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01677, allocations: 0 / 286.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01677, allocations: 0 / 286.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.0168, allocations: 0 / 286.8 MB, free: 3.754 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.002339/0.01914, allocations: 2.297 MB / 289.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.01918, allocations: 12.03 kB / 289.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.01962, allocations: 283.9 kB / 289.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.02039, allocations: 0.8303 MB / 290.3 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.02043, allocations: 74.44 kB / 290.3 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.02054, allocations: 104.4 kB / 290.4 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1172/0.1378, allocations: 0.8403 MB / 291.3 MB, free: 25.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.1378, allocations: 3.25 kB / 291.3 MB, free: 25.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.139e-05/0.1379, allocations: 45.66 kB / 291.3 MB, free: 25.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/0.1379, allocations: 42.55 kB / 291.4 MB, free: 25.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.1385, allocations: 306.9 kB / 291.7 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/0.1424, allocations: 3.868 MB / 295.5 MB, free: 23.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.143, allocations: 475.9 kB / 296 MB, free: 23.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.1435, allocations: 320.2 kB / 296.3 MB, free: 23.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.1435, allocations: 14.62 kB / 296.3 MB, free: 23.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.144, allocations: 352.4 kB / 296.7 MB, free: 23.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.596e-06/0.144, allocations: 0 / 296.7 MB, free: 23.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002483/0.1465, allocations: 1.076 MB / 297.7 MB, free: 22.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1465, allocations: 87.58 kB / 297.8 MB, free: 22.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006742/0.1472, allocations: 0.7729 MB / 298.6 MB, free: 22.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/0.1472, allocations: 43.03 kB / 298.7 MB, free: 22.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.1476, allocations: 0.6264 MB / 299.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1477, allocations: 252.2 kB / 299.5 MB, free: 22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.1479, allocations: 137.3 kB / 299.7 MB, free: 21.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.1479, allocations: 0.512 MB / 300.2 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1481, allocations: 78.09 kB / 300.2 MB, free: 21.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1483, allocations: 315.5 kB / 300.6 MB, free: 21.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.1487, allocations: 399.9 kB / 300.9 MB, free: 20.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1487, allocations: 5.75 kB / 300.9 MB, free: 20.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007223/0.1494, allocations: 0.557 MB / 301.5 MB, free: 20.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1494, allocations: 13.06 kB / 301.5 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1494, allocations: 8.812 kB / 301.5 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.1498, allocations: 186.2 kB / 301.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.1501, allocations: 110.4 kB / 301.8 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.1521, allocations: 3.088 MB / 304.9 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.1523, allocations: 63.27 kB / 305 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.1523, allocations: 18.44 kB / 305 MB, free: 18.29 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_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.0001919/0.1525, allocations: 217.9 kB / 305.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1526, allocations: 118.5 kB / 305.3 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.1527, allocations: 113.1 kB / 305.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1527, allocations: 7.312 kB / 305.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1527, allocations: 0 / 305.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1528, allocations: 3.797 kB / 305.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.1543, allocations: 1.313 MB / 306.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1543, allocations: 0 / 306.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1545, allocations: 79.2 kB / 306.8 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/0.1548, allocations: 170.1 kB / 307 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.1549, allocations: 10.62 kB / 307 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.1567, allocations: 3.058 MB / 310.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1567, allocations: 8.438 kB / 310.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.1574, allocations: 0.7592 MB / 310.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.1575, allocations: 180.5 kB / 311 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.1576, allocations: 25.05 kB / 311 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.1578, allocations: 22.23 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1579, allocations: 68.19 kB / 311.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.1579, allocations: 11.84 kB / 311.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002562/0.1582, allocations: 469.9 kB / 311.6 MB, free: 14 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1582, allocations: 4 kB / 311.6 MB, free: 14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005596/0.1587, allocations: 353.1 kB / 311.9 MB, free: 13.86 MB / 266.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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0001244/0.1589, allocations: 129.3 kB / 312.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.1595, allocations: 0.6981 MB / 312.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1595, allocations: 0 / 312.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.1599, allocations: 0.5609 MB / 313.3 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.1604, allocations: 252 kB / 313.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1629, allocations: 2.271 MB / 315.8 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1631, allocations: 399.8 kB / 316.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.1633, allocations: 100.2 kB / 316.3 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.1637, allocations: 290 kB / 316.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1637, allocations: 0 / 316.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of Templates: time 0.02035/0.184, allocations: 18.56 MB / 335.2 MB, free: 6.922 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.975190536119044]