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.001084/0.001084, allocations: 95.83 kB / 17.3 MB, free: 6.391 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.001061/0.001061, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.878/1.878, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004948/0.0004948, allocations: 16 kB / 281.4 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 47.58 MB / 329 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004098/0.1226, allocations: 3.046 MB / 332 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1244, allocations: 0.854 MB / 332.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.1246, allocations: 7.938 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.1249, allocations: 51.61 kB / 332.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.1252, allocations: 111.2 kB / 333 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1255, allocations: 111.9 kB / 333.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.1261, allocations: 486 kB / 333.6 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.1264, allocations: 157.7 kB / 333.8 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.1266, allocations: 155.2 kB / 333.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1269, allocations: 187 kB / 334.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.127, allocations: 20 kB / 334.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.178e-05/0.1271, allocations: 20 kB / 334.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.875e-05/0.1272, allocations: 71.62 kB / 334.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.1274, allocations: 224.6 kB / 334.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.1278, allocations: 478 kB / 334.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1278, allocations: 8 kB / 334.9 MB, free: 13.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1278, allocations: 4 kB / 334.9 MB, free: 13.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1278, allocations: 0 / 334.9 MB, free: 13.75 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.001169/0.129, allocations: 0.6482 MB / 335.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1291, allocations: 12.03 kB / 335.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1292, allocations: 48.38 kB / 335.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.1296, allocations: 328.4 kB / 336 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.1296, allocations: 25.38 kB / 336 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.1297, allocations: 36.38 kB / 336 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.1305, allocations: 391.3 kB / 336.4 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.1305, allocations: 7.938 kB / 336.4 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.1306, allocations: 12 kB / 336.4 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1306, allocations: 8 kB / 336.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.1312, allocations: 262.5 kB / 336.7 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.1334, allocations: 1.49 MB / 338.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.1338, allocations: 239.5 kB / 338.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.1342, allocations: 181.2 kB / 338.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.1342, allocations: 240 / 338.6 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.1347, allocations: 249.8 kB / 338.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.1347, allocations: 0 / 338.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001543/0.1362, allocations: 0.6005 MB / 339.4 MB, free: 8.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.1363, allocations: 110.8 kB / 339.5 MB, free: 8.852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.1366, allocations: 288.6 kB / 339.8 MB, free: 8.562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.1367, allocations: 33.7 kB / 339.8 MB, free: 8.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1369, allocations: 212.4 kB / 340.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.137, allocations: 102.5 kB / 340.2 MB, free: 8.211 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.137, allocations: 37.7 kB / 340.2 MB, free: 8.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1372, allocations: 346.8 kB / 340.5 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.1374, allocations: 92.7 kB / 340.6 MB, free: 7.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.1377, allocations: 233.4 kB / 340.9 MB, free: 7.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.1382, allocations: 335.1 kB / 341.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1382, allocations: 0 / 341.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007238/0.1389, allocations: 421.8 kB / 341.6 MB, free: 6.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.1389, allocations: 8 kB / 341.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1389, allocations: 4 kB / 341.6 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.1393, allocations: 80.81 kB / 341.7 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.1395, allocations: 67.94 kB / 341.7 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.1413, allocations: 1.799 MB / 343.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.1416, allocations: 39.67 kB / 343.6 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.1416, allocations: 20 kB / 343.6 MB, free: 4.477 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.0002311/0.1419, allocations: 178.8 kB / 343.8 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.1419, allocations: 35.61 kB / 343.8 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.142, allocations: 39.05 kB / 343.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.142, allocations: 8.172 kB / 343.9 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1421, allocations: 48 / 343.9 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1421, allocations: 7.922 kB / 343.9 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.1427, allocations: 0.5576 MB / 344.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1427, allocations: 0 / 344.4 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1429, allocations: 43.94 kB / 344.5 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.1431, allocations: 72.81 kB / 344.5 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1432, allocations: 11.94 kB / 344.6 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.1448, allocations: 1.803 MB / 346.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1448, allocations: 0 / 346.4 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.1457, allocations: 0.5026 MB / 346.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1459, allocations: 136.7 kB / 347 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.1459, allocations: 4 kB / 347 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1461, allocations: 19.98 kB / 347 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.1462, allocations: 19.97 kB / 347 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1462, allocations: 15.98 kB / 347 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.1465, allocations: 207.1 kB / 347.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1465, allocations: 4 kB / 347.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005165/0.147, allocations: 119.6 kB / 347.4 MB, free: 476 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.0001709/0.1472, allocations: 119.3 kB / 347.5 MB, free: 348 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008715/0.148, allocations: 418.5 kB / 347.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1481, allocations: 0 / 347.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.1485, allocations: 291.5 kB / 348.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1489, allocations: 60.72 kB / 348.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1504, allocations: 0.8921 MB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.1508, allocations: 0.8067 MB / 349.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.151, allocations: 30.97 kB / 350 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.1511, allocations: 23.44 kB / 350 MB, free: 13.74 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1511, allocations: 4 kB / 350 MB, free: 13.74 MB / 302.1 MB Notification: Performance of Templates: time 0.009171/0.1602, allocations: 4.365 MB / 354.4 MB, free: 9.387 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