Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.001912/0.001912, 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.002141/0.002141, 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.494/1.494, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 51.91 kB / 373.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09853, allocations: 53.32 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.1883/0.2868, allocations: 4.78 MB / 431.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.2893, allocations: 1.369 MB / 433 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.2896, allocations: 43.84 kB / 433 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.2901, allocations: 220.8 kB / 433.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007709/0.2909, allocations: 370.1 kB / 433.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.2913, allocations: 226.2 kB / 433.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.2925, allocations: 1.536 MB / 435.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.2933, allocations: 0.7199 MB / 436.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006375/0.2939, allocations: 0.6692 MB / 436.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008525/0.2948, allocations: 0.7834 MB / 437.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.295, allocations: 165 kB / 437.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.2953, allocations: 170.4 kB / 437.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.2956, allocations: 444.6 kB / 438.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005988/0.2962, allocations: 0.735 MB / 439 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.2983, allocations: 2.103 MB / 441.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2983, allocations: 8.969 kB / 441.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2983, allocations: 0 / 441.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.671e-05/0.2983, allocations: 4.938 kB / 441.1 MB, free: 5.266 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.3014, allocations: 1.682 MB / 442.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3015, allocations: 10.81 kB / 442.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.302, allocations: 176.1 kB / 443 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.3034, allocations: 0.9717 MB / 444 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.3035, allocations: 75.39 kB / 444 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.3036, allocations: 99.34 kB / 444.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.306, allocations: 1.447 MB / 445.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.3061, allocations: 1.219 kB / 445.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.3062, allocations: 41.55 kB / 445.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/0.3062, allocations: 45.5 kB / 445.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.3084, allocations: 1.295 MB / 447 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006039/0.3144, allocations: 4.314 MB / 451.3 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.3168, allocations: 1.908 MB / 453.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3181, allocations: 0.6869 MB / 453.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.3182, allocations: 7 kB / 453.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.3192, allocations: 0.601 MB / 454.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.325e-06/0.3192, allocations: 0 / 454.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007881/0.327, allocations: 2.805 MB / 457.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.3271, allocations: 115.2 kB / 457.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.3283, allocations: 0.8463 MB / 458.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.3284, allocations: 41.66 kB / 458.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004876/0.3289, allocations: 0.4896 MB / 458.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.3291, allocations: 252.6 kB / 459 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.3294, allocations: 141.6 kB / 459.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3295, allocations: 333.8 kB / 459.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.3302, allocations: 395.4 kB / 459.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.331, allocations: 0.5486 MB / 460.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.3324, allocations: 0.9176 MB / 461.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3324, allocations: 1.156 kB / 461.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002221/0.3347, allocations: 1.289 MB / 462.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3347, allocations: 7.344 kB / 462.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3347, allocations: 3.156 kB / 462.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.3359, allocations: 475 kB / 463.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.3362, allocations: 93.64 kB / 463.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007739/0.344, allocations: 5.592 MB / 468.8 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.3447, allocations: 80.77 kB / 468.9 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.3447, allocations: 24.84 kB / 468.9 MB, free: 4.441 MB / 366.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.0007806/0.3455, allocations: 469.9 kB / 469.3 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3456, allocations: 94.55 kB / 469.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3459, allocations: 113.3 kB / 469.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3459, allocations: 7.406 kB / 469.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3459, allocations: 0 / 469.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.3459, allocations: 5.609 kB / 469.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004273/0.3502, allocations: 2.589 MB / 472.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3502, allocations: 0 / 472.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.3505, allocations: 59.91 kB / 472.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.3516, allocations: 462.6 kB / 472.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.3517, allocations: 11.98 kB / 472.7 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/0.3594, allocations: 5.508 MB / 478.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3594, allocations: 0 / 478.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.3625, allocations: 1.898 MB / 480.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.3629, allocations: 281.7 kB / 480.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3631, allocations: 12 kB / 480.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.3635, allocations: 35.95 kB / 480.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.3637, allocations: 76.55 kB / 480.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.3638, allocations: 19.98 kB / 480.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000869/0.3646, allocations: 0.6044 MB / 481.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3646, allocations: 0 / 481.1 MB, free: 9.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0011/0.3657, allocations: 347.3 kB / 481.4 MB, free: 8.734 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 (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.0001904/0.3659, allocations: 133.1 kB / 481.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002352/0.3683, allocations: 1.255 MB / 482.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3683, allocations: 0 / 482.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.3696, allocations: 0.8003 MB / 483.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.3708, allocations: 280.1 kB / 483.9 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.3752, allocations: 2.366 MB / 486.3 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.3764, allocations: 1.329 MB / 487.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.3768, allocations: 143.3 kB / 487.7 MB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.377, allocations: 51.44 kB / 487.8 MB, free: 2.324 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.377, allocations: 0 / 487.8 MB, free: 2.324 MB / 382.1 MB Notification: Performance of Templates: time 0.03448/0.4114, allocations: 20.06 MB / 0.4959 GB, free: 14.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.266582760959864]