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.001283/0.001283, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001233/0.001233, allocations: 191 kB / 19.29 MB, free: 3.715 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.453/1.453, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001344/0.001344, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1057, allocations: 46.63 MB / 328.8 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005544/0.1113, allocations: 3.389 MB / 332.1 MB, free: 352 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1129, allocations: 0.8772 MB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.113, allocations: 7.938 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1133, allocations: 67.3 kB / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.1137, allocations: 126.9 kB / 333.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.114, allocations: 135.8 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000685/0.1147, allocations: 0.5096 MB / 333.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.115, allocations: 169.9 kB / 334 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.1153, allocations: 199.2 kB / 334.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.1155, allocations: 207.1 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.428e-05/0.1156, allocations: 44 kB / 334.5 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.1157, allocations: 48 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1158, allocations: 103.6 kB / 334.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.1161, allocations: 234.8 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.1166, allocations: 0.5138 MB / 335.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1166, allocations: 3.938 kB / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1166, allocations: 0 / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1166, allocations: 0 / 335.4 MB, free: 13.1 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.001325/0.1179, allocations: 0.7223 MB / 336.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.118, allocations: 8.031 kB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.1181, allocations: 52.38 kB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.1185, allocations: 332.3 kB / 336.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.1186, allocations: 29.38 kB / 336.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.1186, allocations: 36.38 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.1193, allocations: 383.3 kB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1193, allocations: 11.84 kB / 336.9 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.1193, allocations: 15.98 kB / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1193, allocations: 8 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004991/0.1198, allocations: 254.4 kB / 337.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.122, allocations: 1.467 MB / 338.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.1224, allocations: 239.4 kB / 338.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.1228, allocations: 169.2 kB / 339.1 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1228, allocations: 4.234 kB / 339.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004488/0.1233, allocations: 242.9 kB / 339.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.1233, allocations: 0 / 339.3 MB, free: 8.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001541/0.1248, allocations: 0.5809 MB / 339.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.1249, allocations: 106.8 kB / 340 MB, free: 8.191 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1252, allocations: 292.5 kB / 340.3 MB, free: 7.902 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.1253, allocations: 45.72 kB / 340.3 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.1254, allocations: 208.4 kB / 340.5 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/0.1255, allocations: 98.64 kB / 340.6 MB, free: 7.547 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1256, allocations: 69.98 kB / 340.7 MB, free: 7.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1257, allocations: 342.8 kB / 341 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1259, allocations: 92.7 kB / 341.1 MB, free: 7.035 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1262, allocations: 221.5 kB / 341.3 MB, free: 6.762 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.1267, allocations: 331.1 kB / 341.6 MB, free: 6.383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1267, allocations: 0 / 341.6 MB, free: 6.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006848/0.1274, allocations: 410 kB / 342 MB, free: 5.973 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1274, allocations: 8 kB / 342 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1274, allocations: 4 kB / 342.1 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.1278, allocations: 88.67 kB / 342.1 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.128, allocations: 59.91 kB / 342.2 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.1299, allocations: 2.01 MB / 344.2 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.1302, allocations: 35.67 kB / 344.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.1302, allocations: 20 kB / 344.3 MB, free: 3.602 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.0001737/0.1304, allocations: 157.8 kB / 344.4 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.1304, allocations: 39.55 kB / 344.5 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.1305, allocations: 43.16 kB / 344.5 MB, free: 3.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1305, allocations: 4 kB / 344.5 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1305, allocations: 0 / 344.5 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1305, allocations: 0 / 344.5 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.1312, allocations: 0.5614 MB / 345.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1312, allocations: 7.938 kB / 345.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.1314, allocations: 27.97 kB / 345.1 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.1316, allocations: 80.84 kB / 345.2 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.1316, allocations: 7.938 kB / 345.2 MB, free: 2.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.1335, allocations: 1.99 MB / 347.2 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1335, allocations: 0 / 347.2 MB, free: 492 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.1344, allocations: 0.491 MB / 347.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.1346, allocations: 136.7 kB / 347.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.1346, allocations: 11.94 kB / 347.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1348, allocations: 15.98 kB / 347.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.1349, allocations: 23.97 kB / 347.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.1349, allocations: 8 kB / 347.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.1351, allocations: 215.1 kB / 348.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1351, allocations: 0 / 348.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.1356, allocations: 115.6 kB / 348.2 MB, free: 15.43 MB / 302.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.0001766/0.1358, allocations: 111.3 kB / 348.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.1366, allocations: 418.5 kB / 348.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1366, allocations: 0 / 348.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.137, allocations: 288.4 kB / 349 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1373, allocations: 56.75 kB / 349 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1384, allocations: 0.6959 MB / 349.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1387, allocations: 0.8183 MB / 350.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1388, allocations: 30.97 kB / 350.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.1389, allocations: 27.44 kB / 350.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1389, allocations: 0 / 350.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Templates: time 0.008759/0.1477, allocations: 4.756 MB / 355.4 MB, free: 8.16 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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