Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001716/0.001716, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002065/0.002065, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.11, allocations: 53.32 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005609/0.1156, allocations: 3.731 MB / 430.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.199/0.3146, allocations: 1.081 MB / 431.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.3149, allocations: 21.31 kB / 431.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.3151, allocations: 109.2 kB / 431.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.3157, allocations: 235.1 kB / 432 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.316, allocations: 154.6 kB / 432.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.3168, allocations: 0.9695 MB / 433.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.3173, allocations: 456 kB / 433.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.3177, allocations: 434 kB / 434 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.3182, allocations: 0.496 MB / 434.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.3183, allocations: 101.7 kB / 434.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.3185, allocations: 102.9 kB / 434.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.3187, allocations: 288.3 kB / 435 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.319, allocations: 480.5 kB / 435.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.3202, allocations: 1.299 MB / 436.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3202, allocations: 4 kB / 436.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3202, allocations: 0.5 kB / 436.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3202, allocations: 5.312 kB / 436.7 MB, free: 7.074 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001913/0.3221, allocations: 1.208 MB / 437.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3222, allocations: 10.05 kB / 437.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.3226, allocations: 125.7 kB / 438.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.3235, allocations: 0.6652 MB / 438.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.3235, allocations: 47.12 kB / 438.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3236, allocations: 68.3 kB / 438.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.3251, allocations: 0.9226 MB / 439.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.3251, allocations: 5.188 kB / 439.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.3252, allocations: 26.16 kB / 439.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.3252, allocations: 29.72 kB / 439.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3265, allocations: 0.795 MB / 440.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.3303, allocations: 2.791 MB / 443.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007893/0.3311, allocations: 0.7102 MB / 444.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005378/0.3317, allocations: 313.1 kB / 444.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3317, allocations: 6.828 kB / 444.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/0.3323, allocations: 380 kB / 444.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.3323, allocations: 0 / 444.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002858/0.3351, allocations: 1.227 MB / 446 MB, free: 2.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3352, allocations: 117.6 kB / 446.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.3359, allocations: 0.5871 MB / 446.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.3359, allocations: 36.55 kB / 446.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.3361, allocations: 371.8 kB / 447.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.263e-05/0.3362, allocations: 147.1 kB / 447.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3363, allocations: 88.38 kB / 447.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.3364, allocations: 370 kB / 447.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.3368, allocations: 221.5 kB / 447.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.3372, allocations: 359.4 kB / 448.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.338, allocations: 0.5639 MB / 448.9 MB, free: 340 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.338, allocations: 5.031 kB / 448.9 MB, free: 336 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001247/0.3393, allocations: 0.755 MB / 449.6 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3393, allocations: 7.906 kB / 449.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3393, allocations: 4.938 kB / 449.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.34, allocations: 220.2 kB / 449.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.3404, allocations: 74.7 kB / 449.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.3443, allocations: 3.034 MB / 453 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.3447, allocations: 55.69 kB / 453 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.3447, allocations: 20.16 kB / 453 MB, free: 13.76 MB / 366.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: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000424/0.3451, allocations: 333.8 kB / 453.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-05/0.3452, allocations: 60.11 kB / 453.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.3454, allocations: 77.59 kB / 453.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3454, allocations: 4.344 kB / 453.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3454, allocations: 5.438 kB / 453.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3454, allocations: 2.844 kB / 453.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.3483, allocations: 1.733 MB / 455.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3483, allocations: 0 / 455.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.3486, allocations: 48.81 kB / 455.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/0.349, allocations: 196.8 kB / 455.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3491, allocations: 11.38 kB / 455.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.3525, allocations: 2.927 MB / 458.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3525, allocations: 1.469 kB / 458.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3544, allocations: 1.136 MB / 459.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.3547, allocations: 207.7 kB / 459.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.3548, allocations: 7.094 kB / 459.8 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.3551, allocations: 27.59 kB / 459.8 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3552, allocations: 47.62 kB / 459.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.3552, allocations: 16.61 kB / 459.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005979/0.3558, allocations: 432.9 kB / 460.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3558, allocations: 0 / 460.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008391/0.3567, allocations: 206.1 kB / 460.5 MB, free: 8.754 MB / 366.1 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000191/0.3569, allocations: 120.3 kB / 460.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.3583, allocations: 0.7176 MB / 461.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3583, allocations: 5.031 kB / 461.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.359, allocations: 457.5 kB / 461.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000776/0.3598, allocations: 144.1 kB / 461.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.363, allocations: 1.595 MB / 463.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/0.3639, allocations: 1.077 MB / 464.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.3641, allocations: 98.44 kB / 464.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3642, allocations: 37.59 kB / 464.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3642, allocations: 0 / 464.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of Templates: time 0.02063/0.3849, allocations: 10.35 MB / 475.1 MB, free: 14.79 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.006309453397989]