Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001446/0.001446, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001578/0.001578, allocations: 212 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.91 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2671, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006218/0.2734, allocations: 4.646 MB / 434.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.2758, allocations: 1.332 MB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.2761, allocations: 23.88 kB / 435.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.2765, allocations: 170.6 kB / 436 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009074/0.2774, allocations: 362 kB / 436.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.2778, allocations: 219.6 kB / 436.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.2794, allocations: 1.642 MB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/0.2803, allocations: 0.5868 MB / 438.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.2811, allocations: 0.6969 MB / 439.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.2821, allocations: 0.8717 MB / 440.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.2823, allocations: 180 kB / 440.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.2826, allocations: 184 kB / 440.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.2831, allocations: 486.5 kB / 441.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008107/0.2839, allocations: 0.7972 MB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.2861, allocations: 2.279 MB / 444.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2861, allocations: 0 / 444.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2861, allocations: 0 / 444.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.2861, allocations: 3.938 kB / 444.3 MB, free: 9 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.003436/0.2896, allocations: 1.825 MB / 446.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2896, allocations: 12.03 kB / 446.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/0.2904, allocations: 219.9 kB / 446.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.292, allocations: 1.036 MB / 447.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-05/0.2921, allocations: 82.44 kB / 447.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.2922, allocations: 108.1 kB / 447.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.2949, allocations: 1.557 MB / 449.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.2949, allocations: 0 / 449.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.295, allocations: 44 kB / 449.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/0.2951, allocations: 42.03 kB / 449.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.2974, allocations: 1.437 MB / 450.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007187/0.3046, allocations: 4.907 MB / 455.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.3065, allocations: 1.39 MB / 456.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3079, allocations: 0.6804 MB / 457.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.381e-05/0.3079, allocations: 12.55 kB / 457.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.309, allocations: 0.6084 MB / 458.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/0.309, allocations: 3.938 kB / 458.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006114/0.3151, allocations: 2.427 MB / 460.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.3152, allocations: 85.77 kB / 460.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.3166, allocations: 0.962 MB / 461.7 MB, free: 7.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.3167, allocations: 45.7 kB / 461.7 MB, free: 6.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.3172, allocations: 0.5436 MB / 462.3 MB, free: 6.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.3175, allocations: 246 kB / 462.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.3177, allocations: 134.6 kB / 462.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3179, allocations: 334 kB / 463 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/0.3186, allocations: 413.7 kB / 463.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.3194, allocations: 0.5524 MB / 463.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.3209, allocations: 0.9581 MB / 464.9 MB, free: 3.703 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.3209, allocations: 7.938 kB / 464.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002238/0.3232, allocations: 1.28 MB / 466.2 MB, free: 2.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3232, allocations: 8 kB / 466.2 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3232, allocations: 4.469 kB / 466.2 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009359/0.3241, allocations: 399 kB / 466.6 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.3246, allocations: 111.8 kB / 466.7 MB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/0.3303, allocations: 4.513 MB / 471.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005973/0.3309, allocations: 79.77 kB / 471.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.3309, allocations: 28 kB / 471.3 MB, free: 13.14 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_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: 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.0007714/0.3317, allocations: 0.4991 MB / 471.8 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.3319, allocations: 103.3 kB / 471.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3321, allocations: 124.8 kB / 472 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3321, allocations: 8 kB / 472 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3321, allocations: 0 / 472 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3321, allocations: 3.984 kB / 472 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.3363, allocations: 2.575 MB / 474.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3363, allocations: 0 / 474.6 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.3367, allocations: 79.88 kB / 474.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008558/0.3376, allocations: 392.5 kB / 475.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.3377, allocations: 23.92 kB / 475.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006135/0.3438, allocations: 4.487 MB / 479.6 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3438, allocations: 0 / 479.6 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.3472, allocations: 1.956 MB / 481.5 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005276/0.3477, allocations: 292.3 kB / 481.8 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3479, allocations: 8 kB / 481.8 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.3483, allocations: 39.95 kB / 481.9 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.3485, allocations: 80.55 kB / 481.9 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.3486, allocations: 19.98 kB / 482 MB, free: 2.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009975/0.3496, allocations: 0.698 MB / 482.7 MB, free: 1.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3496, allocations: 0 / 482.7 MB, free: 1.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009865/0.3505, allocations: 351.2 kB / 483 MB, free: 1.172 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0002069/0.3508, allocations: 127.2 kB / 483.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.3531, allocations: 1.245 MB / 484.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3531, allocations: 4.062 kB / 484.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001293/0.3544, allocations: 0.775 MB / 485.2 MB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3555, allocations: 259.2 kB / 485.4 MB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.3604, allocations: 2.703 MB / 488.1 MB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.3617, allocations: 1.388 MB / 489.5 MB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.3622, allocations: 179.4 kB / 489.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.3624, allocations: 55.44 kB / 489.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3624, allocations: 4 kB / 489.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of Templates: time 0.03257/0.3949, allocations: 18.96 MB / 0.4968 GB, free: 7.582 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.800378304906189]