Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001897/0.001897, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002321/0.002321, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 68.77 kB / 379.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.325, allocations: 53.36 MB / 432.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.009972/0.335, allocations: 3.527 MB / 436 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.3383, allocations: 0.9308 MB / 436.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007851/0.3391, allocations: 11.94 kB / 436.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.3396, allocations: 71.3 kB / 437 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008848/0.3405, allocations: 134.8 kB / 437.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008216/0.3413, allocations: 159.6 kB / 437.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.3425, allocations: 0.5253 MB / 437.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.3429, allocations: 128.3 kB / 437.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.3436, allocations: 211.2 kB / 438.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.3442, allocations: 222.9 kB / 438.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.3443, allocations: 48 kB / 438.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.3445, allocations: 48 kB / 438.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3447, allocations: 103.6 kB / 438.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.3451, allocations: 234.8 kB / 438.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3461, allocations: 0.5446 MB / 439.3 MB, free: 212 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3461, allocations: 0 / 439.3 MB, free: 212 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3461, allocations: 4 kB / 439.3 MB, free: 208 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.3461, allocations: 0 / 439.3 MB, free: 208 kB / 334.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.002287/0.3484, allocations: 0.7817 MB / 440.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.3485, allocations: 16.03 kB / 440.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005232/0.349, allocations: 72.58 kB / 440.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.3497, allocations: 287.3 kB / 440.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.3497, allocations: 29.38 kB / 440.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.3498, allocations: 36.38 kB / 440.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.3505, allocations: 404 kB / 440.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.3506, allocations: 0 / 440.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.3506, allocations: 16 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3506, allocations: 8 kB / 440.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.3512, allocations: 263.8 kB / 441.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.3541, allocations: 1.465 MB / 442.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.3546, allocations: 215.4 kB / 442.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.355, allocations: 161.2 kB / 443 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.355, allocations: 4.234 kB / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.3555, allocations: 226 kB / 443.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.344e-06/0.3555, allocations: 3.938 kB / 443.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001575/0.357, allocations: 0.4949 MB / 443.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.3571, allocations: 110.8 kB / 443.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.3575, allocations: 320.3 kB / 444.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.3576, allocations: 33.7 kB / 444.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.3578, allocations: 224.7 kB / 444.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3579, allocations: 103.1 kB / 444.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.358, allocations: 78.09 kB / 444.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3582, allocations: 338.8 kB / 444.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3584, allocations: 92.7 kB / 445 MB, free: 10.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.3587, allocations: 221.5 kB / 445.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.3593, allocations: 323.1 kB / 445.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3593, allocations: 4 kB / 445.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008171/0.3601, allocations: 421.2 kB / 446 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3601, allocations: 8.5 kB / 446 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3601, allocations: 11.98 kB / 446 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.3605, allocations: 80.81 kB / 446.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.3607, allocations: 59.91 kB / 446.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.3631, allocations: 1.895 MB / 448 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.3634, allocations: 39.83 kB / 448.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.3634, allocations: 16 kB / 448.1 MB, free: 6.914 MB / 350.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_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.0002892/0.3637, allocations: 170.3 kB / 448.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.3638, allocations: 39.7 kB / 448.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.701e-05/0.3639, allocations: 39.95 kB / 448.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3639, allocations: 4.188 kB / 448.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3639, allocations: 7.938 kB / 448.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3639, allocations: 3.938 kB / 448.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008709/0.3648, allocations: 0.5527 MB / 448.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3648, allocations: 0 / 448.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.365, allocations: 27.98 kB / 448.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/0.3652, allocations: 80.73 kB / 449 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.3653, allocations: 8 kB / 449 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.3678, allocations: 1.899 MB / 450.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3678, allocations: 0 / 450.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3688, allocations: 0.4997 MB / 451.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.3689, allocations: 67.64 kB / 451.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.369, allocations: 8 kB / 451.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3691, allocations: 15.98 kB / 451.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.3692, allocations: 23.95 kB / 451.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.3693, allocations: 12 kB / 451.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003359/0.3696, allocations: 215.1 kB / 451.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3696, allocations: 0 / 451.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.3701, allocations: 115.8 kB / 451.8 MB, free: 2.941 MB / 350.1 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.0001715/0.3703, allocations: 121.2 kB / 452 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.3712, allocations: 398.9 kB / 452.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3712, allocations: 0 / 452.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.3716, allocations: 270.5 kB / 452.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.372, allocations: 69.7 kB / 452.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.3736, allocations: 0.7344 MB / 453.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.3741, allocations: 0.8191 MB / 454.2 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.3743, allocations: 35.14 kB / 454.3 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.3743, allocations: 31.44 kB / 454.3 MB, free: 400 kB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3743, allocations: 0 / 454.3 MB, free: 400 kB / 350.1 MB Notification: Performance of Templates: time 0.01236/0.3867, allocations: 5.164 MB / 459.5 MB, free: 11.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852492529898882]