Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.001195, allocations: 110.7 kB / 17.28 MB, free: 6.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 189.3 kB / 18.2 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 224 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.92 kB / 280.2 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1395, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.006728/0.1463, allocations: 3.428 MB / 330.2 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.1486, allocations: 0.8617 MB / 331.1 MB, free: 464 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006171/0.1492, allocations: 7.938 kB / 331.1 MB, free: 456 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.1497, allocations: 55.55 kB / 331.1 MB, free: 400 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.1503, allocations: 107.2 kB / 331.3 MB, free: 292 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.1507, allocations: 119.8 kB / 331.4 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006187/0.1514, allocations: 0.502 MB / 331.9 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.1518, allocations: 174.1 kB / 332 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.1521, allocations: 195.2 kB / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.1524, allocations: 211 kB / 332.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.1525, allocations: 44 kB / 332.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.1526, allocations: 44 kB / 332.5 MB, free: 15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1527, allocations: 111.6 kB / 332.6 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.1529, allocations: 226.9 kB / 332.9 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.1535, allocations: 0.5099 MB / 333.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1535, allocations: 0 / 333.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1535, allocations: 0 / 333.4 MB, free: 14.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1536, allocations: 0 / 333.4 MB, free: 14.16 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001431/0.155, allocations: 0.7184 MB / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.155, allocations: 8.031 kB / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1552, allocations: 52.38 kB / 334.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.1556, allocations: 324.4 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.1557, allocations: 33.31 kB / 334.5 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.1557, allocations: 40.36 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/0.1564, allocations: 395.3 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1565, allocations: 3.906 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.1565, allocations: 12 kB / 334.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1565, allocations: 8 kB / 334.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.157, allocations: 254.4 kB / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.1591, allocations: 1.482 MB / 336.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.1595, allocations: 235.5 kB / 336.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.1599, allocations: 165.2 kB / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1599, allocations: 240 / 337.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.1604, allocations: 241.9 kB / 337.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.1604, allocations: 0 / 337.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001516/0.1619, allocations: 0.577 MB / 337.9 MB, free: 9.387 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.162, allocations: 106.8 kB / 338 MB, free: 9.258 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.1623, allocations: 304.5 kB / 338.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.1624, allocations: 33.7 kB / 338.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.1626, allocations: 212.4 kB / 338.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.1627, allocations: 94.64 kB / 338.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1628, allocations: 73.97 kB / 338.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.163, allocations: 342.8 kB / 339 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.1632, allocations: 92.66 kB / 339.1 MB, free: 8.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.1634, allocations: 229.4 kB / 339.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.1639, allocations: 327.1 kB / 339.7 MB, free: 7.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.1639, allocations: 4 kB / 339.7 MB, free: 7.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007524/0.1647, allocations: 413.6 kB / 340.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1647, allocations: 4 kB / 340.1 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1647, allocations: 4 kB / 340.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.1651, allocations: 84.97 kB / 340.2 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.1653, allocations: 63.91 kB / 340.2 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.1677, allocations: 2.002 MB / 342.2 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.168, allocations: 39.69 kB / 342.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.168, allocations: 19.98 kB / 342.3 MB, free: 4.656 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.1684, allocations: 170.8 kB / 342.4 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.1684, allocations: 35.56 kB / 342.5 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.993e-05/0.1685, allocations: 39.09 kB / 342.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1685, allocations: 4 kB / 342.5 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1685, allocations: 4 kB / 342.5 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1686, allocations: 7.984 kB / 342.5 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.1693, allocations: 0.5653 MB / 343.1 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1693, allocations: 0 / 343.1 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1695, allocations: 27.98 kB / 343.1 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002417/0.1697, allocations: 80.88 kB / 343.2 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.1697, allocations: 16.02 kB / 343.2 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.1716, allocations: 1.979 MB / 345.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1716, allocations: 0 / 345.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009609/0.1726, allocations: 0.4948 MB / 345.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.1728, allocations: 136.7 kB / 345.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.1728, allocations: 11.94 kB / 345.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.173, allocations: 15.98 kB / 345.9 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.1731, allocations: 27.95 kB / 345.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1731, allocations: 11.98 kB / 345.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1734, allocations: 211 kB / 346.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1734, allocations: 4 kB / 346.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005031/0.1739, allocations: 115.7 kB / 346.2 MB, free: 480 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001364/0.174, allocations: 99.25 kB / 346.3 MB, free: 372 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.1748, allocations: 434.3 kB / 346.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1749, allocations: 1 kB / 346.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.1753, allocations: 286.5 kB / 347 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1756, allocations: 64.47 kB / 347.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1771, allocations: 0.8561 MB / 347.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.1775, allocations: 0.7989 MB / 348.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.1777, allocations: 43.12 kB / 348.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.1778, allocations: 31.44 kB / 348.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1778, allocations: 0 / 348.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Templates: time 0.01006/0.1879, allocations: 4.655 MB / 353.5 MB, free: 9.125 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches