Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002182/0.002182, allocations: 213.3 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.89 kB / 376.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2536, allocations: 53.32 MB / 430.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006359/0.26, allocations: 4.791 MB / 435 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2627, allocations: 1.371 MB / 436.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.2631, allocations: 27.88 kB / 436.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.2637, allocations: 230.4 kB / 436.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007953/0.2645, allocations: 362 kB / 437 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.2649, allocations: 231.6 kB / 437.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.2666, allocations: 1.564 MB / 438.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/0.2675, allocations: 0.715 MB / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008854/0.2684, allocations: 0.662 MB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.2695, allocations: 0.7783 MB / 440.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.2697, allocations: 168 kB / 441.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.27, allocations: 164 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.2704, allocations: 454.6 kB / 441.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.2712, allocations: 0.7233 MB / 442.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.2734, allocations: 2.111 MB / 444.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2734, allocations: 0 / 444.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.2734, allocations: 8 kB / 444.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.332e-05/0.2734, allocations: 0 / 444.5 MB, free: 9.215 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003122/0.2765, allocations: 1.684 MB / 446.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2766, allocations: 12.03 kB / 446.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004994/0.2771, allocations: 176 kB / 446.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.2786, allocations: 0.9702 MB / 447.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.2786, allocations: 74.38 kB / 447.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2788, allocations: 104.1 kB / 447.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.2812, allocations: 1.443 MB / 449 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.2812, allocations: 4 kB / 449 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.2813, allocations: 40 kB / 449 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/0.2814, allocations: 49.92 kB / 449.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.2835, allocations: 1.288 MB / 450.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006392/0.2899, allocations: 4.309 MB / 454.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.2919, allocations: 1.9 MB / 456.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.2932, allocations: 0.6805 MB / 457.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.2932, allocations: 8.656 kB / 457.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009503/0.2941, allocations: 0.6014 MB / 457.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.574e-06/0.2941, allocations: 0 / 457.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007143/0.3013, allocations: 2.805 MB / 460.7 MB, free: 8.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3014, allocations: 115.5 kB / 460.8 MB, free: 8.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.3028, allocations: 0.8442 MB / 461.6 MB, free: 7.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/0.3029, allocations: 41.64 kB / 461.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.3034, allocations: 0.493 MB / 462.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.3037, allocations: 257.9 kB / 462.4 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.3039, allocations: 138.6 kB / 462.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.304, allocations: 334 kB / 462.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000644/0.3047, allocations: 389.7 kB / 463.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.3054, allocations: 0.5455 MB / 463.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3068, allocations: 0.9153 MB / 464.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3068, allocations: 8 kB / 464.7 MB, free: 4.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0022/0.309, allocations: 1.288 MB / 466 MB, free: 3.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.309, allocations: 8 kB / 466 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.309, allocations: 4 kB / 466 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3101, allocations: 473.2 kB / 466.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.3105, allocations: 91.89 kB / 466.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007726/0.3182, allocations: 5.591 MB / 472.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007056/0.3189, allocations: 79.64 kB / 472.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.3189, allocations: 27.94 kB / 472.3 MB, free: 12.65 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0008053/0.3197, allocations: 470.5 kB / 472.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.3199, allocations: 91.44 kB / 472.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.3202, allocations: 120.7 kB / 472.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3202, allocations: 8 kB / 473 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3202, allocations: 0 / 473 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3202, allocations: 3.984 kB / 473 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/0.3243, allocations: 2.591 MB / 475.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3243, allocations: 3.938 kB / 475.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.3246, allocations: 55.95 kB / 475.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.3256, allocations: 456.4 kB / 476.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.3257, allocations: 16.12 kB / 476.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007404/0.3331, allocations: 5.505 MB / 481.6 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3331, allocations: 0 / 481.6 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.3361, allocations: 1.902 MB / 483.5 MB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.3366, allocations: 276.4 kB / 483.7 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3367, allocations: 16 kB / 483.8 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.3371, allocations: 39.95 kB / 483.8 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.3373, allocations: 72.55 kB / 483.9 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.3374, allocations: 27.94 kB / 483.9 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000836/0.3382, allocations: 0.6043 MB / 484.5 MB, free: 172 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3382, allocations: 0 / 484.5 MB, free: 172 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001054/0.3393, allocations: 351.3 kB / 484.8 MB, free: 15.82 MB / 398.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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001986/0.3395, allocations: 127.1 kB / 485 MB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002254/0.3417, allocations: 1.255 MB / 486.2 MB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.3417, allocations: 8.25 kB / 486.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.343, allocations: 0.7849 MB / 487 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.3441, allocations: 278.9 kB / 487.3 MB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.3484, allocations: 2.397 MB / 489.7 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.3495, allocations: 1.299 MB / 491 MB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3497, allocations: 55.42 kB / 491 MB, free: 9.543 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3497, allocations: 4 kB / 491 MB, free: 9.539 MB / 398.1 MB Notification: Performance of Templates: time 0.03072/0.3805, allocations: 20.97 MB / 0.5 GB, free: 4.633 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches