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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 147.4 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9656/0.9656, allocations: 173.4 MB / 201.5 MB, free: 8.73 MB / 186.7 MB " [Timeout remaining time 179] 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=500,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=500,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.448e-05, allocations: 6.25 kB / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.01166/0.01169, allocations: 3.384 MB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004997/0.01668, allocations: 0.8486 MB / 272.7 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.01694, allocations: 15.94 kB / 272.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.01718, allocations: 71.23 kB / 272.8 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.01758, allocations: 142.7 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.01796, allocations: 139.7 kB / 273.1 MB, free: 1.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006334/0.0186, allocations: 0.5289 MB / 273.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003375/0.02197, allocations: 123 kB / 273.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005155/0.02249, allocations: 303.2 kB / 274 MB, free: 432 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.02281, allocations: 163.5 kB / 274.2 MB, free: 268 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.02289, allocations: 44 kB / 274.2 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.02297, allocations: 44 kB / 274.3 MB, free: 180 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.02308, allocations: 111.6 kB / 274.4 MB, free: 68 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.0233, allocations: 159.6 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.02382, allocations: 338.7 kB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.02383, allocations: 8 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02383, allocations: 0 / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.02384, allocations: 3.938 kB / 274.9 MB, free: 15.57 MB / 266.7 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.001104/0.02494, allocations: 0.6295 MB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.02499, allocations: 8.922 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.02511, allocations: 60.89 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.02552, allocations: 233.5 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.02556, allocations: 29.38 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.02564, allocations: 40.38 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.02616, allocations: 326.8 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.02618, allocations: 4.125 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.02622, allocations: 24.11 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.02623, allocations: 8 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.02646, allocations: 94.89 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.02824, allocations: 1.068 MB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.02853, allocations: 138.8 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.02877, allocations: 93.27 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.0288, allocations: 8.234 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.02912, allocations: 211.6 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.02912, allocations: 0 / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001037/0.03015, allocations: 314.2 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.03022, allocations: 114.8 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.03049, allocations: 259 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.03052, allocations: 33.7 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.03065, allocations: 201.1 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.03074, allocations: 99.17 kB / 278.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.03087, allocations: 78.02 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.031, allocations: 342.8 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.03107, allocations: 28.73 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.03126, allocations: 191.1 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.03156, allocations: 239.1 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.03157, allocations: 4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004572/0.03202, allocations: 249.1 kB / 279.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.03204, allocations: 10.91 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.03206, allocations: 4 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.0323, allocations: 64.8 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.03253, allocations: 59.91 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.03412, allocations: 1.567 MB / 281.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.03435, allocations: 39.72 kB / 281.7 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.03437, allocations: 12 kB / 281.7 MB, free: 8.293 MB / 266.7 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.0001614/0.03453, allocations: 140.5 kB / 281.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.03459, allocations: 27.97 kB / 281.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.03466, allocations: 39.11 kB / 281.9 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.03467, allocations: 8 kB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.03467, allocations: 3.984 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.03468, allocations: 3.938 kB / 281.9 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.0352, allocations: 323.4 kB / 282.2 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.0352, allocations: 0 / 282.2 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.03535, allocations: 23.98 kB / 282.3 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.03555, allocations: 56.73 kB / 282.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.03557, allocations: 8 kB / 282.3 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.03697, allocations: 1.559 MB / 283.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.03697, allocations: 0 / 283.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.03748, allocations: 267 kB / 284.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.03759, allocations: 43.78 kB / 284.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.03764, allocations: 11.94 kB / 284.2 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.03779, allocations: 11.98 kB / 284.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.03787, allocations: 31.89 kB / 284.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.03789, allocations: 7.984 kB / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.03802, allocations: 92.64 kB / 284.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03802, allocations: 0 / 284.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006429/0.03866, allocations: 115.8 kB / 284.4 MB, free: 5.379 MB / 266.7 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.0001617/0.03882, allocations: 104.5 kB / 284.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.03937, allocations: 314.6 kB / 284.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.03937, allocations: 4 kB / 284.9 MB, free: 4.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.03967, allocations: 240 kB / 285.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.03996, allocations: 56.88 kB / 285.1 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.04152, allocations: 0.6624 MB / 285.8 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.04162, allocations: 104.6 kB / 285.9 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.04177, allocations: 35.09 kB / 285.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.04197, allocations: 111.3 kB / 286.1 MB, free: 3.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04197, allocations: 0 / 286.1 MB, free: 3.68 MB / 266.7 MB Notification: Performance of Templates: time 0.109/0.151, allocations: 4.775 MB / 290.8 MB, free: 28.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.791032999753952]