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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, 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.002005/0.002005, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 230.3 MB / 258 MB, free: 8.254 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.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.001894/0.001894, allocations: 63.89 kB / 378.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2478, allocations: 53.36 MB / 432.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00696/0.2548, allocations: 4.819 MB / 437 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.258, allocations: 1.386 MB / 438.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.2585, allocations: 35.75 kB / 438.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007328/0.2592, allocations: 222.4 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.2603, allocations: 377.9 kB / 439 MB, free: 216 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005951/0.2608, allocations: 239.5 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.2627, allocations: 1.561 MB / 440.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008462/0.2636, allocations: 0.5633 MB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009027/0.2645, allocations: 0.6659 MB / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.2655, allocations: 0.7861 MB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.2658, allocations: 164 kB / 442.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.2661, allocations: 168 kB / 443.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004426/0.2666, allocations: 438.7 kB / 443.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008543/0.2674, allocations: 0.7427 MB / 444.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.2697, allocations: 2.112 MB / 446.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2697, allocations: 4 kB / 446.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2697, allocations: 0 / 446.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.2697, allocations: 0 / 446.4 MB, free: 8.738 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.003731/0.2734, allocations: 1.896 MB / 448.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2735, allocations: 8.031 kB / 448.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/0.274, allocations: 172 kB / 448.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.2757, allocations: 0.9202 MB / 449.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.2758, allocations: 74.38 kB / 449.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.276, allocations: 96.12 kB / 449.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.2785, allocations: 1.443 MB / 451 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.2785, allocations: 4 kB / 451 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.2787, allocations: 47.97 kB / 451 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.2787, allocations: 42 kB / 451.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.281, allocations: 1.288 MB / 452.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006973/0.288, allocations: 4.263 MB / 456.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.2897, allocations: 1.002 MB / 457.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.291, allocations: 0.6775 MB / 458.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.302e-05/0.291, allocations: 8.656 kB / 458.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.2921, allocations: 0.5976 MB / 458.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.475e-06/0.2921, allocations: 3.938 kB / 458.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007846/0.2999, allocations: 2.751 MB / 461.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.935e-05/0.3, allocations: 119.5 kB / 461.8 MB, free: 9.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.3013, allocations: 0.8441 MB / 462.6 MB, free: 8.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.901e-05/0.3013, allocations: 45.69 kB / 462.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.3018, allocations: 0.489 MB / 463.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.302, allocations: 257.9 kB / 463.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.3023, allocations: 134.6 kB / 463.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3024, allocations: 334 kB / 463.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.3031, allocations: 405.7 kB / 464.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.3039, allocations: 0.5377 MB / 464.8 MB, free: 5.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.3054, allocations: 0.9132 MB / 465.7 MB, free: 5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3054, allocations: 4 kB / 465.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002259/0.3077, allocations: 1.29 MB / 467 MB, free: 3.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3077, allocations: 10.34 kB / 467 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3077, allocations: 4 kB / 467 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.3089, allocations: 472.7 kB / 467.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.3093, allocations: 91.89 kB / 467.6 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008065/0.3173, allocations: 5.48 MB / 473.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.3181, allocations: 91.7 kB / 473.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/0.3181, allocations: 28 kB / 473.2 MB, free: 13.41 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 (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.0008241/0.319, allocations: 463.2 kB / 473.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.3192, allocations: 95.39 kB / 473.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.3195, allocations: 112.7 kB / 473.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.3195, allocations: 8 kB / 473.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3195, allocations: 0 / 473.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3195, allocations: 3.984 kB / 473.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005827/0.3254, allocations: 2.567 MB / 476.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3254, allocations: 0 / 476.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.3257, allocations: 67.89 kB / 476.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.3269, allocations: 456.9 kB / 476.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.3269, allocations: 20 kB / 476.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008132/0.3351, allocations: 5.421 MB / 482.4 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.3351, allocations: 11.88 kB / 482.4 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/0.3384, allocations: 1.898 MB / 484.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.3391, allocations: 207.2 kB / 484.5 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.3392, allocations: 23.94 kB / 484.5 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.3397, allocations: 35.95 kB / 484.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.34, allocations: 80.5 kB / 484.6 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.34, allocations: 20 kB / 484.6 MB, free: 1.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009456/0.341, allocations: 0.6044 MB / 485.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.341, allocations: 0 / 485.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00106/0.342, allocations: 351.2 kB / 485.6 MB, free: 0.7969 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 (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.0002068/0.3422, allocations: 131.2 kB / 485.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.3446, allocations: 1.251 MB / 487 MB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3446, allocations: 0 / 487 MB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.346, allocations: 0.7936 MB / 487.7 MB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3472, allocations: 282.3 kB / 488 MB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.3517, allocations: 2.374 MB / 490.4 MB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.3529, allocations: 1.333 MB / 491.7 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.3533, allocations: 147.4 kB / 491.9 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3535, allocations: 51.44 kB / 491.9 MB, free: 10.36 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3535, allocations: 0 / 491.9 MB, free: 10.36 MB / 398.1 MB Notification: Performance of Templates: time 0.03701/0.3905, allocations: 20.62 MB / 0.5005 GB, free: 5.938 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 5.299492647871375]