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.00201/0.00201, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002154/0.002154, allocations: 215.5 kB / 23.72 MB, free: 4.531 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.593/1.593, allocations: 230.6 MB / 257.5 MB, free: 7.832 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.001832/0.001832, allocations: 47.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2568, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006667/0.2635, allocations: 4.34 MB / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003172/0.2666, allocations: 1.324 MB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.267, allocations: 39.69 kB / 437.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.2677, allocations: 226.4 kB / 437.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.2687, allocations: 378 kB / 437.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.2693, allocations: 223.6 kB / 438.1 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/0.2712, allocations: 1.549 MB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008817/0.2721, allocations: 0.5633 MB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.2732, allocations: 0.6697 MB / 440.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.2743, allocations: 0.7822 MB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.2746, allocations: 164 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.2749, allocations: 168 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004314/0.2753, allocations: 438.7 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.276, allocations: 0.5951 MB / 443 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.2784, allocations: 2.128 MB / 445.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.2784, allocations: 0 / 445.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2784, allocations: 0 / 445.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.2784, allocations: 0 / 445.1 MB, free: 9.113 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.003732/0.2821, allocations: 1.9 MB / 447 MB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2822, allocations: 12.03 kB / 447.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/0.2827, allocations: 168 kB / 447.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.2844, allocations: 0.9125 MB / 448.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/0.2845, allocations: 70.38 kB / 448.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.2847, allocations: 104.1 kB / 448.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.2873, allocations: 1.497 MB / 449.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.2874, allocations: 0 / 449.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.2875, allocations: 39.98 kB / 449.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-05/0.2875, allocations: 46 kB / 449.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.2898, allocations: 1.288 MB / 451.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006816/0.2966, allocations: 3.78 MB / 455 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.2983, allocations: 0.9994 MB / 456 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.2996, allocations: 0.6813 MB / 456.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/0.2997, allocations: 8.656 kB / 456.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.3008, allocations: 0.6439 MB / 457.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.735e-06/0.3008, allocations: 0 / 457.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008258/0.309, allocations: 2.755 MB / 460 MB, free: 9.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.3092, allocations: 115.5 kB / 460.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.3105, allocations: 0.8011 MB / 461 MB, free: 9.023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/0.3106, allocations: 37.7 kB / 461 MB, free: 8.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000571/0.3111, allocations: 0.4968 MB / 461.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/0.3114, allocations: 253.9 kB / 461.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3117, allocations: 134.7 kB / 461.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.3119, allocations: 398.7 kB / 462.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007651/0.3127, allocations: 393.7 kB / 462.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/0.3136, allocations: 0.6062 MB / 463.2 MB, free: 6.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.3151, allocations: 0.9132 MB / 464.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3151, allocations: 0 / 464.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002313/0.3174, allocations: 1.286 MB / 465.4 MB, free: 4.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3174, allocations: 8 kB / 465.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3174, allocations: 4.469 kB / 465.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.3186, allocations: 468.4 kB / 465.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.319, allocations: 99.81 kB / 466 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007926/0.3269, allocations: 5.383 MB / 471.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.3276, allocations: 79.64 kB / 471.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.204e-05/0.3276, allocations: 28 kB / 471.5 MB, free: 14.21 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.0008014/0.3284, allocations: 463.2 kB / 472 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.3286, allocations: 95.38 kB / 472 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3289, allocations: 108.4 kB / 472.2 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.3289, allocations: 12 kB / 472.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.3289, allocations: 3.938 kB / 472.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3289, allocations: 3.984 kB / 472.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.3331, allocations: 2.298 MB / 474.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3331, allocations: 0 / 474.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.3334, allocations: 59.91 kB / 474.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.3345, allocations: 464.9 kB / 475 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/0.3345, allocations: 19.98 kB / 475 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007761/0.3423, allocations: 5.32 MB / 480.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3423, allocations: 0 / 480.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003148/0.3454, allocations: 1.894 MB / 482.2 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.346, allocations: 199.3 kB / 482.4 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.3462, allocations: 12 kB / 482.4 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.3466, allocations: 51.83 kB / 482.5 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.3469, allocations: 76.5 kB / 482.6 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.3469, allocations: 20 kB / 482.6 MB, free: 2.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008991/0.3478, allocations: 0.5732 MB / 483.1 MB, free: 2.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3478, allocations: 0 / 483.1 MB, free: 2.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001142/0.349, allocations: 351.2 kB / 483.5 MB, free: 2.035 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.0002061/0.3492, allocations: 135.2 kB / 483.6 MB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002426/0.3516, allocations: 1.259 MB / 484.9 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3516, allocations: 4 kB / 484.9 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.3531, allocations: 0.7899 MB / 485.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3543, allocations: 254.6 kB / 485.9 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00496/0.3592, allocations: 2.372 MB / 488.3 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.3602, allocations: 0.7419 MB / 489 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004795/0.3607, allocations: 139.1 kB / 489.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3609, allocations: 63.42 kB / 489.2 MB, free: 12.19 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3609, allocations: 0 / 489.2 MB, free: 12.19 MB / 398.1 MB Notification: Performance of Templates: time 0.03703/0.3979, allocations: 20.08 MB / 0.4974 GB, free: 8.441 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.417829033918679]