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.001444/0.001444, allocations: 99.92 kB / 16.5 MB, free: 6.641 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.001634/0.001634, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009374/0.0009374, allocations: 48.88 kB / 300 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1007, allocations: 49.46 MB / 349.4 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.007487/0.1082, allocations: 3.474 MB / 352.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.1106, allocations: 0.8335 MB / 353.7 MB, free: 392 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1109, allocations: 4 kB / 353.7 MB, free: 388 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1111, allocations: 43.62 kB / 353.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.1116, allocations: 111.2 kB / 353.9 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.1121, allocations: 119.8 kB / 354 MB, free: 112 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007795/0.1129, allocations: 0.4939 MB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004078/0.1133, allocations: 153.7 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.1136, allocations: 163.3 kB / 354.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.114, allocations: 207 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.1141, allocations: 24 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.791e-05/0.1142, allocations: 28 kB / 355.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1144, allocations: 91.61 kB / 355.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.1147, allocations: 218.7 kB / 355.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006878/0.1154, allocations: 0.4982 MB / 355.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1155, allocations: 0 / 355.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1155, allocations: 0 / 355.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1155, allocations: 4 kB / 355.9 MB, free: 14.23 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.001884/0.1174, allocations: 0.7222 MB / 356.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1174, allocations: 8.031 kB / 356.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.1176, allocations: 52.38 kB / 356.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.1182, allocations: 336.3 kB / 357 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.1183, allocations: 25.38 kB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1184, allocations: 44.38 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.1196, allocations: 392 kB / 357.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1196, allocations: 4 kB / 357.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.1197, allocations: 19.98 kB / 357.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.1197, allocations: 8 kB / 357.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.1207, allocations: 259.8 kB / 357.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.1241, allocations: 1.492 MB / 359.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007561/0.1249, allocations: 247.3 kB / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006355/0.1256, allocations: 169.2 kB / 359.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1256, allocations: 4.234 kB / 359.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006585/0.1263, allocations: 230 kB / 359.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/0.1263, allocations: 0 / 359.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001569/0.1279, allocations: 0.5809 MB / 360.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.128, allocations: 110.8 kB / 360.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1283, allocations: 292.6 kB / 360.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.1283, allocations: 33.7 kB / 360.8 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1284, allocations: 220.2 kB / 361.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.1285, allocations: 94.61 kB / 361.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.1286, allocations: 74.06 kB / 361.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1287, allocations: 338.8 kB / 361.6 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1289, allocations: 92.72 kB / 361.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1292, allocations: 229.4 kB / 361.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.1296, allocations: 319.1 kB / 362.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1297, allocations: 3.938 kB / 362.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006785/0.1303, allocations: 419 kB / 362.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1304, allocations: 8 kB / 362.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1304, allocations: 4 kB / 362.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.1307, allocations: 84.75 kB / 362.7 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.1309, allocations: 64.19 kB / 362.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.1326, allocations: 1.799 MB / 364.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.1329, allocations: 39.72 kB / 364.6 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1329, allocations: 19.98 kB / 364.6 MB, free: 4.902 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.0001763/0.1331, allocations: 178.1 kB / 364.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1331, allocations: 39.55 kB / 364.8 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.931e-05/0.1332, allocations: 43.16 kB / 364.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1332, allocations: 0 / 364.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1332, allocations: 4 kB / 364.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1332, allocations: 0 / 364.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.1338, allocations: 0.5614 MB / 365.4 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1338, allocations: 4 kB / 365.4 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.134, allocations: 31.92 kB / 365.5 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.1342, allocations: 80.84 kB / 365.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.1343, allocations: 7.984 kB / 365.6 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.1359, allocations: 1.788 MB / 367.3 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1359, allocations: 4.031 kB / 367.3 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.1367, allocations: 0.4919 MB / 367.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1369, allocations: 132.6 kB / 368 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1369, allocations: 15.98 kB / 368 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1371, allocations: 12 kB / 368 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.1372, allocations: 31.89 kB / 368 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.1372, allocations: 12 kB / 368 MB, free: 1.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1374, allocations: 211.1 kB / 368.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1374, allocations: 0 / 368.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004552/0.1379, allocations: 115.7 kB / 368.4 MB, free: 0.9062 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_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.0001228/0.138, allocations: 122.1 kB / 368.5 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.1387, allocations: 418.4 kB / 368.9 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1387, allocations: 0 / 368.9 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.1391, allocations: 275.5 kB / 369.2 MB, free: 80 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1395, allocations: 61.06 kB / 369.2 MB, free: 24 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1277/0.2672, allocations: 0.8565 MB / 370.1 MB, free: 25.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.2675, allocations: 0.8085 MB / 370.9 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001635/0.2676, allocations: 34.66 kB / 370.9 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.2677, allocations: 25.31 kB / 370.9 MB, free: 24.35 MB / 302.1 MB Notification: Performance of SimCode: time 1.222e-06/0.2677, allocations: 0 / 370.9 MB, free: 24.35 MB / 302.1 MB Notification: Performance of Templates: time 0.008563/0.2763, allocations: 4.408 MB / 375.3 MB, free: 24.2 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