Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0007576/0.0007576, allocations: 90.19 kB / 16.65 MB, free: 6.59 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.00092/0.00092, allocations: 182.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 12.47 kB / 301.4 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 50.41 MB / 351.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003907/0.1177, allocations: 3.1 MB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1198, allocations: 0.818 MB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/0.1203, allocations: 4 kB / 355.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1206, allocations: 51.61 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.1211, allocations: 107.2 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.1216, allocations: 119.8 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.1223, allocations: 497.9 kB / 356.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.1227, allocations: 149.7 kB / 356.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.123, allocations: 159.3 kB / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.1233, allocations: 183 kB / 357 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.973e-05/0.1234, allocations: 20 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.1235, allocations: 20 kB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1236, allocations: 79.61 kB / 357.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.124, allocations: 232.5 kB / 357.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.1245, allocations: 494 kB / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1245, allocations: 4 kB / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1245, allocations: 0 / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.1246, allocations: 0 / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001415/0.126, allocations: 0.6483 MB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.126, allocations: 8.031 kB / 358.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.1262, allocations: 48.38 kB / 358.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.1267, allocations: 344.3 kB / 358.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.1268, allocations: 29.38 kB / 358.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.1268, allocations: 36.38 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.1276, allocations: 400 kB / 359.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1277, allocations: 7.891 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.1277, allocations: 16 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1277, allocations: 8 kB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000565/0.1283, allocations: 271.8 kB / 359.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.1307, allocations: 1.5 MB / 361.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.1311, allocations: 250.3 kB / 361.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.1315, allocations: 173.4 kB / 361.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1316, allocations: 4.234 kB / 361.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.132, allocations: 230 kB / 361.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.132, allocations: 3.938 kB / 361.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001621/0.1336, allocations: 0.6043 MB / 362.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.1337, allocations: 110.8 kB / 362.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.1341, allocations: 288.6 kB / 362.8 MB, free: 8.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.1341, allocations: 37.69 kB / 362.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1343, allocations: 220.2 kB / 363 MB, free: 7.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/0.1344, allocations: 94.75 kB / 363.1 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.1345, allocations: 37.7 kB / 363.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1346, allocations: 346.8 kB / 363.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.1348, allocations: 92.7 kB / 363.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.1351, allocations: 221.5 kB / 363.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.1357, allocations: 339.1 kB / 364.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1357, allocations: 0 / 364.1 MB, free: 6.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008809/0.1366, allocations: 429 kB / 364.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1366, allocations: 4 kB / 364.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1366, allocations: 4 kB / 364.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.1369, allocations: 93.33 kB / 364.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1372, allocations: 59.91 kB / 364.7 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.1392, allocations: 1.807 MB / 366.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.1394, allocations: 39.69 kB / 366.6 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1395, allocations: 20.06 kB / 366.6 MB, free: 4.102 MB / 302.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_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_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.000222/0.1397, allocations: 174.2 kB / 366.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.1398, allocations: 43.5 kB / 366.8 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/0.1399, allocations: 35.28 kB / 366.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.1399, allocations: 4 kB / 366.8 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1399, allocations: 3.938 kB / 366.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1399, allocations: 4 kB / 366.8 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.1406, allocations: 0.5692 MB / 367.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1406, allocations: 0 / 367.4 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1408, allocations: 35.92 kB / 367.4 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.1411, allocations: 80.8 kB / 367.5 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.1411, allocations: 8 kB / 367.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.143, allocations: 1.8 MB / 369.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.143, allocations: 0 / 369.3 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009294/0.1439, allocations: 0.5035 MB / 369.8 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.1441, allocations: 140.7 kB / 370 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.1441, allocations: 4 kB / 370 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1443, allocations: 19.98 kB / 370 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.1444, allocations: 23.91 kB / 370 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1444, allocations: 15.98 kB / 370 MB, free: 404 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.1446, allocations: 211.1 kB / 370.2 MB, free: 196 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1446, allocations: 0 / 370.2 MB, free: 196 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004973/0.1452, allocations: 107.7 kB / 370.3 MB, free: 88 kB / 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.1916/0.3368, allocations: 122.4 kB / 370.5 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.338, allocations: 421 kB / 370.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.338, allocations: 1.438 kB / 370.9 MB, free: 24.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.3385, allocations: 287.2 kB / 371.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.339, allocations: 60.25 kB / 371.2 MB, free: 24.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3405, allocations: 0.8918 MB / 372.1 MB, free: 23.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3408, allocations: 0.8058 MB / 372.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.341, allocations: 38.89 kB / 372.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.341, allocations: 28.02 kB / 373 MB, free: 23.15 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3411, allocations: 4.344 kB / 373 MB, free: 23.15 MB / 302.1 MB Notification: Performance of Templates: time 0.01133/0.3524, allocations: 4.359 MB / 377.3 MB, free: 22.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches