Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.001371/0.001371, allocations: 102.6 kB / 21.93 MB, free: 5.203 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.001563/0.001563, allocations: 202.7 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierBridge2Pulse.DiodeBridge2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 52.41 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2582, allocations: 49.16 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004896/0.2631, allocations: 3.365 MB / 401 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.2652, allocations: 0.9272 MB / 401.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.2654, allocations: 15.16 kB / 401.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.2657, allocations: 77.17 kB / 402 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.266, allocations: 144.2 kB / 402.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.2664, allocations: 166.3 kB / 402.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006443/0.2671, allocations: 0.6058 MB / 402.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.2674, allocations: 142.7 kB / 403 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.2676, allocations: 226.4 kB / 403.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.2679, allocations: 221.8 kB / 403.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.268, allocations: 55.12 kB / 403.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.2681, allocations: 54.69 kB / 403.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.2682, allocations: 116.8 kB / 403.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.2685, allocations: 221.2 kB / 403.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.2691, allocations: 0.6274 MB / 404.5 MB, free: 5.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2691, allocations: 4 kB / 404.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2691, allocations: 0 / 404.5 MB, free: 5.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2691, allocations: 1.781 kB / 404.6 MB, free: 5.164 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001519/0.2706, allocations: 0.8318 MB / 405.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2707, allocations: 13.2 kB / 405.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.2708, allocations: 56.86 kB / 405.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.2712, allocations: 307.7 kB / 405.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.2713, allocations: 34.47 kB / 405.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/0.2714, allocations: 46.14 kB / 405.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007884/0.2721, allocations: 480.9 kB / 406.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.2722, allocations: 9.922 kB / 406.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.2722, allocations: 15.98 kB / 406.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2722, allocations: 10.56 kB / 406.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006108/0.2728, allocations: 317.8 kB / 406.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.2749, allocations: 1.594 MB / 408.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.2756, allocations: 348.1 kB / 408.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.2762, allocations: 252.4 kB / 408.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.2762, allocations: 4.266 kB / 408.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.2767, allocations: 290.9 kB / 409.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.554e-06/0.2767, allocations: 5.281 kB / 409.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002381/0.2791, allocations: 0.7708 MB / 409.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.2792, allocations: 87.83 kB / 410 MB, free: 1.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.2795, allocations: 296 kB / 410.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.2795, allocations: 37.59 kB / 410.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.2797, allocations: 222.9 kB / 410.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.522e-05/0.2798, allocations: 139 kB / 410.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.2799, allocations: 83.44 kB / 410.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.28, allocations: 349.1 kB / 411.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2802, allocations: 128.6 kB / 411.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.2806, allocations: 278.8 kB / 411.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.2811, allocations: 374.9 kB / 411.8 MB, free: 472 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2811, allocations: 5.031 kB / 411.8 MB, free: 468 kB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00082/0.2819, allocations: 0.5016 MB / 412.3 MB, free: 188 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2819, allocations: 6.5 kB / 412.4 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2819, allocations: 3.375 kB / 412.4 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004511/0.2824, allocations: 156.3 kB / 412.5 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.2826, allocations: 67.28 kB / 412.6 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.2858, allocations: 2.381 MB / 415 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.2861, allocations: 44.23 kB / 415 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.2861, allocations: 18.75 kB / 415 MB, free: 14.05 MB / 334.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: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.2863, allocations: 171.5 kB / 415.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.2864, allocations: 38.2 kB / 415.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.675e-05/0.2865, allocations: 50.3 kB / 415.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2865, allocations: 5.156 kB / 415.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2865, allocations: 3.938 kB / 415.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.2865, allocations: 3.984 kB / 415.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.2881, allocations: 0.8646 MB / 416.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2881, allocations: 1.25 kB / 416.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2882, allocations: 38.33 kB / 416.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.2886, allocations: 147.1 kB / 416.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.2887, allocations: 6.781 kB / 416.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00313/0.2918, allocations: 2.387 MB / 418.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2918, allocations: 1.094 kB / 418.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.2931, allocations: 0.7078 MB / 419.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.2933, allocations: 68.64 kB / 419.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.2934, allocations: 15.38 kB / 419.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.2936, allocations: 14.55 kB / 419.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.2937, allocations: 35.81 kB / 419.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.2937, allocations: 13.02 kB / 419.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.294, allocations: 212.6 kB / 419.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.294, allocations: 1.094 kB / 419.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007701/0.2948, allocations: 142.3 kB / 419.9 MB, free: 10.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002138/0.295, allocations: 118.2 kB / 420 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2962, allocations: 0.5249 MB / 420.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2962, allocations: 0.9375 kB / 420.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006297/0.2968, allocations: 371.6 kB / 420.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.2973, allocations: 67.48 kB / 421 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.2993, allocations: 0.8999 MB / 421.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.2995, allocations: 225.9 kB / 422.1 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.168e-05/0.2996, allocations: 27.97 kB / 422.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2996, allocations: 0 / 422.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of Templates: time 0.01136/0.311, allocations: 7 MB / 429.1 MB, free: 2.875 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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: 7.941709612030536]