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.001592/0.001592, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.001629/0.00163, allocations: 190 kB / 18.07 MB, free: 5.414 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.873/1.873, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001258/0.001258, allocations: 47.92 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 46.62 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005584/0.1397, allocations: 3.435 MB / 330 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1416, allocations: 0.8656 MB / 330.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.1418, allocations: 8 kB / 330.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1421, allocations: 51.55 kB / 331 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1424, allocations: 107.2 kB / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.1428, allocations: 115.9 kB / 331.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.1433, allocations: 490 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.1436, allocations: 153.6 kB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.1439, allocations: 175.2 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.1442, allocations: 199 kB / 332.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.1442, allocations: 28 kB / 332.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.609e-05/0.1443, allocations: 28 kB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.737e-05/0.1444, allocations: 79.67 kB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1446, allocations: 210.8 kB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.1451, allocations: 0.4904 MB / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1451, allocations: 0 / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1451, allocations: 0 / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1451, allocations: 0 / 333 MB, free: 14.44 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.001392/0.1465, allocations: 0.7145 MB / 333.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1466, allocations: 12.03 kB / 333.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.1467, allocations: 48.38 kB / 333.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.1472, allocations: 336.3 kB / 334.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.1472, allocations: 29.38 kB / 334.1 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.1473, allocations: 40.31 kB / 334.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.148, allocations: 383.3 kB / 334.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.148, allocations: 3.906 kB / 334.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.1481, allocations: 16 kB / 334.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1481, allocations: 8 kB / 334.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.1486, allocations: 254.4 kB / 334.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.1508, allocations: 1.482 MB / 336.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.1514, allocations: 239.4 kB / 336.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.1518, allocations: 169.2 kB / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.1518, allocations: 4.234 kB / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.1523, allocations: 237.9 kB / 336.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.343e-06/0.1523, allocations: 0 / 336.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001621/0.1539, allocations: 0.5849 MB / 337.5 MB, free: 9.652 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.154, allocations: 110.8 kB / 337.6 MB, free: 9.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.1545, allocations: 292.5 kB / 337.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.1545, allocations: 37.73 kB / 338 MB, free: 9.184 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1547, allocations: 208.4 kB / 338.2 MB, free: 8.977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.1548, allocations: 98.64 kB / 338.3 MB, free: 8.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1549, allocations: 73.97 kB / 338.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.155, allocations: 342.8 kB / 338.7 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.1552, allocations: 88.7 kB / 338.8 MB, free: 8.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.1556, allocations: 225.5 kB / 339 MB, free: 8.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.1561, allocations: 334.9 kB / 339.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1561, allocations: 0 / 339.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007459/0.1569, allocations: 409.9 kB / 339.7 MB, free: 7.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1569, allocations: 4 kB / 339.7 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.1569, allocations: 8 kB / 339.7 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.1573, allocations: 80.81 kB / 339.8 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.1575, allocations: 59.84 kB / 339.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.1595, allocations: 1.796 MB / 341.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.1598, allocations: 47.73 kB / 341.7 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/0.1598, allocations: 19.94 kB / 341.7 MB, free: 5.141 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.000215/0.1601, allocations: 178.7 kB / 341.9 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.1601, allocations: 35.62 kB / 341.9 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.1602, allocations: 39.03 kB / 342 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1602, allocations: 4 kB / 342 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1602, allocations: 4 kB / 342 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1602, allocations: 4 kB / 342 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007016/0.1609, allocations: 0.5614 MB / 342.5 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1609, allocations: 3.984 kB / 342.5 MB, free: 4.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.1611, allocations: 31.92 kB / 342.6 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.1614, allocations: 72.81 kB / 342.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.1614, allocations: 16.02 kB / 342.7 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.1632, allocations: 1.788 MB / 344.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1633, allocations: 4.031 kB / 344.4 MB, free: 2.203 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.1642, allocations: 0.4911 MB / 344.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1643, allocations: 128.6 kB / 345.1 MB, free: 1.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.1644, allocations: 12 kB / 345.1 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1645, allocations: 11.98 kB / 345.1 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.1646, allocations: 27.95 kB / 345.1 MB, free: 1.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.1647, allocations: 8 kB / 345.1 MB, free: 1.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.1649, allocations: 211.3 kB / 345.3 MB, free: 1.281 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1649, allocations: 0 / 345.3 MB, free: 1.281 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.1654, allocations: 119.6 kB / 345.4 MB, free: 1.164 MB / 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.0001634/0.1656, allocations: 119.1 kB / 345.6 MB, free: 1.039 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008017/0.1664, allocations: 423 kB / 346 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1664, allocations: 0 / 346 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.1668, allocations: 278.4 kB / 346.2 MB, free: 336 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1672, allocations: 69.5 kB / 346.3 MB, free: 264 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.1686, allocations: 0.8432 MB / 347.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.169, allocations: 0.8067 MB / 348 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.1691, allocations: 30.97 kB / 348 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.1692, allocations: 27.44 kB / 348 MB, free: 14.49 MB / 302.1 MB Notification: Performance of SimCode: time 2.996e-06/0.1692, allocations: 0 / 348 MB, free: 14.49 MB / 302.1 MB Notification: Performance of Templates: time 0.008757/0.178, allocations: 4.425 MB / 352.4 MB, free: 10.07 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