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.0009211/0.0009211, allocations: 78.28 kB / 21.42 MB, free: 3.066 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.0009945/0.0009945, allocations: 157.8 kB / 24.81 MB, free: 8.918 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.9444/0.9444, allocations: 173.4 MB / 201.5 MB, free: 8.301 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 2.003e-06/2.003e-06, allocations: 0 / 268.4 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.166e-05, allocations: 2.312 kB / 268.4 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003839/0.00386, allocations: 3.379 MB / 271.8 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.005385, allocations: 0.8272 MB / 272.6 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.005596, allocations: 12.81 kB / 272.7 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.005792, allocations: 67.3 kB / 272.7 MB, free: 5.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.006086, allocations: 140.8 kB / 272.9 MB, free: 5.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.006391, allocations: 141.6 kB / 273 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.006843, allocations: 0.525 MB / 273.5 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.007068, allocations: 118.4 kB / 273.6 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.007417, allocations: 300 kB / 273.9 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.007657, allocations: 165.5 kB / 274.1 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.007718, allocations: 48 kB / 274.1 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.00777, allocations: 44 kB / 274.2 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.007849, allocations: 103.6 kB / 274.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.007974, allocations: 159.6 kB / 274.4 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.00838, allocations: 342.7 kB / 274.8 MB, free: 3.387 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.008384, allocations: 1.219 kB / 274.8 MB, free: 3.387 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008384, allocations: 0 / 274.8 MB, free: 3.387 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.008391, allocations: 0 / 274.8 MB, free: 3.387 MB / 250.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.0009359/0.009327, allocations: 0.8863 MB / 275.7 MB, free: 2.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.009363, allocations: 11.97 kB / 275.7 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.009454, allocations: 84.61 kB / 275.8 MB, free: 2.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.009734, allocations: 276.4 kB / 276 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.009757, allocations: 33.38 kB / 276.1 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.009806, allocations: 40.38 kB / 276.1 MB, free: 1.988 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.01017, allocations: 330.1 kB / 276.4 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01018, allocations: 192 / 276.4 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.01021, allocations: 20.12 kB / 276.4 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.01022, allocations: 8 kB / 276.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.01036, allocations: 106.8 kB / 276.6 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.01158, allocations: 1.397 MB / 278 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.01178, allocations: 163.8 kB / 278.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.01193, allocations: 108.1 kB / 278.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.01195, allocations: 8.234 kB / 278.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.01215, allocations: 201.8 kB / 278.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.422e-06/0.01216, allocations: 0 / 278.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006848/0.01284, allocations: 373.4 kB / 278.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.01289, allocations: 110.8 kB / 278.9 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.01308, allocations: 326 kB / 279.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.0131, allocations: 37.7 kB / 279.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01322, allocations: 267.4 kB / 279.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.01327, allocations: 107.1 kB / 279.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.01335, allocations: 79.69 kB / 279.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01348, allocations: 0.5156 MB / 280.2 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.97e-05/0.01353, allocations: 32.72 kB / 280.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.01366, allocations: 244.9 kB / 280.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.01386, allocations: 282.1 kB / 280.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01386, allocations: 0 / 280.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003208/0.01418, allocations: 303.6 kB / 281.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.0142, allocations: 9.703 kB / 281.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01421, allocations: 4 kB / 281.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.01438, allocations: 79.89 kB / 281.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.01451, allocations: 59.91 kB / 281.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.01568, allocations: 2.224 MB / 283.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.01587, allocations: 39.81 kB / 283.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.01589, allocations: 19.94 kB / 283.5 MB, free: 10.07 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_p.off,rectifier.diode_n.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.0001392/0.01603, allocations: 176.5 kB / 283.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.01609, allocations: 47.81 kB / 283.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.01615, allocations: 39.08 kB / 283.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.01615, allocations: 4 kB / 283.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01616, allocations: 0 / 283.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01616, allocations: 0 / 283.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.0167, allocations: 461.3 kB / 284.2 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.0167, allocations: 0 / 284.2 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01684, allocations: 27.98 kB / 284.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/0.01702, allocations: 59.56 kB / 284.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.01705, allocations: 8 kB / 284.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.01854, allocations: 2.225 MB / 286.5 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.01854, allocations: 4 kB / 286.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.01901, allocations: 340.3 kB / 286.9 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.01909, allocations: 55.66 kB / 286.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01911, allocations: 8 kB / 286.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.0192, allocations: 15.98 kB / 286.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.01925, allocations: 35.98 kB / 287 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.01927, allocations: 7.984 kB / 287 MB, free: 6.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.01937, allocations: 210.9 kB / 287.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01937, allocations: 0 / 287.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.01968, allocations: 115.8 kB / 287.3 MB, free: 6.062 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * 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.0001183/0.0198, allocations: 121.4 kB / 287.4 MB, free: 5.934 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.02018, allocations: 380.7 kB / 287.8 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.02018, allocations: 7.938 kB / 287.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.02036, allocations: 285.2 kB / 288.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.02058, allocations: 69.36 kB / 288.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02159, allocations: 0.6631 MB / 288.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.815e-05/0.02166, allocations: 116.5 kB / 288.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.697e-05/0.02175, allocations: 35.09 kB / 288.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.02188, allocations: 134.2 kB / 289.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02188, allocations: 0 / 289.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of Templates: time 0.007092/0.02897, allocations: 4.842 MB / 293.9 MB, free: 15.48 MB / 282.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.5987389916554093]