Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 43.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2612, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006133/0.2673, allocations: 4.774 MB / 425.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.2696, allocations: 1.305 MB / 427 MB, free: 9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.2699, allocations: 23.88 kB / 427 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.2705, allocations: 230.4 kB / 427.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007295/0.2712, allocations: 366 kB / 427.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.2716, allocations: 211.6 kB / 427.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2731, allocations: 1.526 MB / 429.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007614/0.2739, allocations: 0.5626 MB / 429.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006639/0.2745, allocations: 0.6424 MB / 430.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.2755, allocations: 0.7822 MB / 431.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.2757, allocations: 168 kB / 431.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.2759, allocations: 164 kB / 431.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.2763, allocations: 438.7 kB / 432 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007361/0.277, allocations: 0.7234 MB / 432.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.279, allocations: 2.1 MB / 434.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.279, allocations: 0 / 434.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.279, allocations: 0 / 434.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.279, allocations: 0 / 434.9 MB, free: 1.047 MB / 334.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.002862/0.2819, allocations: 1.665 MB / 436.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2819, allocations: 11.97 kB / 436.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/0.2821, allocations: 148 kB / 436.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.2835, allocations: 0.9508 MB / 437.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.2836, allocations: 74.38 kB / 437.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.2837, allocations: 100.1 kB / 437.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.286, allocations: 1.439 MB / 439.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.286, allocations: 0 / 439.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.2862, allocations: 43.98 kB / 439.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.2862, allocations: 41.98 kB / 439.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.2884, allocations: 1.296 MB / 440.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/0.2945, allocations: 4.301 MB / 444.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.2965, allocations: 1.9 MB / 446.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.2977, allocations: 0.6922 MB / 447.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.2978, allocations: 12.59 kB / 447.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009469/0.2987, allocations: 0.5937 MB / 448.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.244e-06/0.2987, allocations: 0 / 448.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007209/0.3059, allocations: 2.801 MB / 450.9 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.306, allocations: 119.4 kB / 451 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3071, allocations: 0.8246 MB / 451.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/0.3071, allocations: 45.69 kB / 451.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.3075, allocations: 488.8 kB / 452.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.3078, allocations: 253.9 kB / 452.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.308, allocations: 138.6 kB / 452.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3082, allocations: 394.8 kB / 453.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.3089, allocations: 397.7 kB / 453.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.3096, allocations: 0.5377 MB / 454.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.3109, allocations: 0.9153 MB / 455 MB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3109, allocations: 0 / 455 MB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002047/0.313, allocations: 1.288 MB / 456.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.313, allocations: 7.594 kB / 456.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.313, allocations: 7.984 kB / 456.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.3141, allocations: 468.7 kB / 456.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.3145, allocations: 99.83 kB / 456.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00771/0.3222, allocations: 5.591 MB / 462.4 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.3228, allocations: 83.64 kB / 462.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.3229, allocations: 27.94 kB / 462.6 MB, free: 4.523 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.0007077/0.3236, allocations: 475.1 kB / 463 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.3237, allocations: 91.44 kB / 463.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.3239, allocations: 108.6 kB / 463.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3239, allocations: 8 kB / 463.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.3239, allocations: 0 / 463.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3239, allocations: 3.984 kB / 463.2 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.3281, allocations: 2.579 MB / 465.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3281, allocations: 4 kB / 465.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.3284, allocations: 59.91 kB / 465.9 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.3294, allocations: 456.5 kB / 466.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.3295, allocations: 23.98 kB / 466.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007385/0.3368, allocations: 5.5 MB / 471.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3369, allocations: 4 kB / 471.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.34, allocations: 1.894 MB / 473.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/0.3405, allocations: 272.4 kB / 474 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.3406, allocations: 16 kB / 474 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.341, allocations: 47.89 kB / 474.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.3412, allocations: 76.53 kB / 474.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.3413, allocations: 20 kB / 474.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008624/0.3421, allocations: 0.5849 MB / 474.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3421, allocations: 0 / 474.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001021/0.3432, allocations: 347.3 kB / 475.1 MB, free: 7.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.0002224/0.3434, allocations: 135.1 kB / 475.2 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002252/0.3456, allocations: 1.247 MB / 476.5 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3456, allocations: 4 kB / 476.5 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.3469, allocations: 0.7859 MB / 477.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3479, allocations: 278.2 kB / 477.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/0.3522, allocations: 2.373 MB / 479.9 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.3532, allocations: 1.322 MB / 481.2 MB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.3536, allocations: 151.3 kB / 481.4 MB, free: 1.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3537, allocations: 51.44 kB / 481.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3537, allocations: 0 / 481.4 MB, free: 1.32 MB / 382.1 MB Notification: Performance of Templates: time 0.03271/0.3864, allocations: 20.24 MB / 0.4899 GB, free: 13.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.105315312743187]