Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002334/0.002334, allocations: 214.2 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 8.023 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 47.92 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2456, allocations: 53.35 MB / 431.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006669/0.2523, allocations: 4.648 MB / 436.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.2547, allocations: 1.328 MB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.255, allocations: 31.75 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.2554, allocations: 174.6 kB / 437.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000939/0.2563, allocations: 366 kB / 438.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.2567, allocations: 219.6 kB / 438.4 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.2585, allocations: 1.631 MB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.2594, allocations: 0.5873 MB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.2602, allocations: 0.7047 MB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.2614, allocations: 0.8717 MB / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.2617, allocations: 180 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.262, allocations: 180 kB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.2624, allocations: 494.5 kB / 443 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.2633, allocations: 0.7933 MB / 443.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.2655, allocations: 2.279 MB / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2655, allocations: 0 / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2655, allocations: 0 / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.2656, allocations: 0 / 446.1 MB, free: 8.543 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003619/0.2692, allocations: 2.064 MB / 448.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2692, allocations: 8.031 kB / 448.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/0.2699, allocations: 215.9 kB / 448.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.2717, allocations: 0.9865 MB / 449.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/0.2718, allocations: 74.44 kB / 449.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.272, allocations: 104.1 kB / 449.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.2746, allocations: 1.569 MB / 451.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.2746, allocations: 3.984 kB / 451.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.2747, allocations: 40 kB / 451.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.2748, allocations: 42.05 kB / 451.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/0.2773, allocations: 1.437 MB / 452.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007336/0.2847, allocations: 4.83 MB / 457.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2862, allocations: 0.9344 MB / 458.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.2875, allocations: 0.6846 MB / 459.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.2876, allocations: 12.66 kB / 459.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.2887, allocations: 0.6084 MB / 459.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.054e-06/0.2887, allocations: 0 / 459.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006177/0.2948, allocations: 2.367 MB / 462.1 MB, free: 8.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/0.2949, allocations: 89.77 kB / 462.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.2962, allocations: 0.9581 MB / 463.1 MB, free: 7.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.2962, allocations: 41.7 kB / 463.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.2967, allocations: 0.5475 MB / 463.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.297, allocations: 242 kB / 463.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.2972, allocations: 134.6 kB / 464.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2973, allocations: 334 kB / 464.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007405/0.2981, allocations: 413.7 kB / 464.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008624/0.2989, allocations: 0.5525 MB / 465.3 MB, free: 4.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.3006, allocations: 0.9444 MB / 466.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.3006, allocations: 3.938 kB / 466.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002331/0.3029, allocations: 1.287 MB / 467.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3029, allocations: 8 kB / 467.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3029, allocations: 4 kB / 467.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009695/0.3039, allocations: 403.1 kB / 468 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.3044, allocations: 111.8 kB / 468.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006081/0.3105, allocations: 4.408 MB / 472.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.3112, allocations: 83.58 kB / 472.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.3113, allocations: 24 kB / 472.6 MB, free: 13.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0008442/0.3121, allocations: 499.1 kB / 473.1 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.3123, allocations: 107.3 kB / 473.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.3126, allocations: 120.8 kB / 473.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3126, allocations: 8 kB / 473.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3126, allocations: 0 / 473.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3126, allocations: 3.984 kB / 473.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.317, allocations: 2.559 MB / 475.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.317, allocations: 0 / 475.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.3174, allocations: 87.81 kB / 476 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000869/0.3183, allocations: 397.1 kB / 476.4 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.3183, allocations: 23.92 kB / 476.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005749/0.3241, allocations: 4.37 MB / 480.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3241, allocations: 0 / 480.8 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.3273, allocations: 1.948 MB / 482.7 MB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/0.3279, allocations: 219.2 kB / 482.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.328, allocations: 12 kB / 482.9 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.3284, allocations: 39.95 kB / 483 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.3286, allocations: 88.44 kB / 483.1 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.3287, allocations: 23.98 kB / 483.1 MB, free: 2.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001263/0.33, allocations: 0.6941 MB / 483.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.33, allocations: 0 / 483.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001005/0.331, allocations: 351.2 kB / 484.1 MB, free: 1.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000188/0.3311, allocations: 132.4 kB / 484.2 MB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.3335, allocations: 1.245 MB / 485.5 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3335, allocations: 0 / 485.5 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.3348, allocations: 0.7841 MB / 486.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3358, allocations: 270.5 kB / 486.5 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.3406, allocations: 2.696 MB / 489.2 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.3417, allocations: 1.392 MB / 490.6 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004274/0.3422, allocations: 179.4 kB / 490.8 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3423, allocations: 59.44 kB / 490.9 MB, free: 10.82 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3423, allocations: 0 / 490.9 MB, free: 10.82 MB / 398.1 MB Notification: Performance of Templates: time 0.03228/0.3746, allocations: 19.19 MB / 0.4981 GB, free: 7.859 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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: 5.644295549951494]