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.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.001498/0.001498, allocations: 103.9 kB / 19.75 MB, free: 2.656 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.001552/0.001552, allocations: 192.7 kB / 22.93 MB, free: 5.48 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.601/1.601, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 51.92 kB / 345.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3271, allocations: 49.13 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005464/0.3326, allocations: 3.687 MB / 398.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3346, allocations: 0.9728 MB / 399.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.3349, allocations: 11.78 kB / 399.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.3351, allocations: 77.19 kB / 399.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.3355, allocations: 153.4 kB / 399.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.336, allocations: 159.9 kB / 399.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007552/0.3368, allocations: 0.6026 MB / 400.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.3371, allocations: 148.3 kB / 400.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.3375, allocations: 232 kB / 400.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.3378, allocations: 249 kB / 400.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.3379, allocations: 54.84 kB / 400.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.338, allocations: 55.31 kB / 400.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3381, allocations: 122 kB / 401 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.3384, allocations: 262.4 kB / 401.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007948/0.3392, allocations: 0.6277 MB / 401.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3392, allocations: 0 / 401.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3392, allocations: 0 / 401.9 MB, free: 4.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3392, allocations: 1.25 kB / 401.9 MB, free: 4.719 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.00135/0.3405, allocations: 0.7853 MB / 402.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3406, allocations: 13.19 kB / 402.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.3407, allocations: 56.2 kB / 402.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.3411, allocations: 371 kB / 403.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3411, allocations: 30.5 kB / 403.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.3412, allocations: 46.16 kB / 403.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.3419, allocations: 452.9 kB / 403.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3419, allocations: 5.969 kB / 403.7 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.342, allocations: 16.89 kB / 403.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.342, allocations: 10.41 kB / 403.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.3426, allocations: 321.1 kB / 404 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.3448, allocations: 1.817 MB / 405.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/0.3455, allocations: 0.5748 MB / 406.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.346, allocations: 247.8 kB / 406.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.346, allocations: 8.438 kB / 406.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/0.3465, allocations: 272.4 kB / 406.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.3465, allocations: 0 / 406.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002156/0.3486, allocations: 0.8346 MB / 407.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3487, allocations: 84.36 kB / 407.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.349, allocations: 313.8 kB / 408.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.349, allocations: 42.02 kB / 408.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3491, allocations: 218.6 kB / 408.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.3492, allocations: 139.3 kB / 408.5 MB, free: 424 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3493, allocations: 90.61 kB / 408.6 MB, free: 368 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.3494, allocations: 346.3 kB / 409 MB, free: 32 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.3496, allocations: 118.9 kB / 409.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.35, allocations: 252.3 kB / 409.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/0.3505, allocations: 386.2 kB / 409.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3505, allocations: 1.625 kB / 409.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008883/0.3514, allocations: 0.5012 MB / 410.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3514, allocations: 10.81 kB / 410.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3515, allocations: 11.94 kB / 410.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.3519, allocations: 143.1 kB / 410.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3522, allocations: 64.09 kB / 410.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.3554, allocations: 2.559 MB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.3558, allocations: 45.05 kB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3558, allocations: 19.06 kB / 413 MB, free: 12.98 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_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.000327/0.3561, allocations: 175.2 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.3562, allocations: 43.73 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3563, allocations: 46.81 kB / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.3563, allocations: 13.36 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3563, allocations: 3.938 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3563, allocations: 0 / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3581, allocations: 1.016 MB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3581, allocations: 1.438 kB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3583, allocations: 38.31 kB / 414.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.3587, allocations: 138.6 kB / 414.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.3587, allocations: 9.844 kB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.362, allocations: 2.536 MB / 417.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.362, allocations: 1.062 kB / 417.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.3634, allocations: 0.7077 MB / 417.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.3636, allocations: 150 kB / 417.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/0.3637, allocations: 15.22 kB / 417.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3639, allocations: 13.55 kB / 417.9 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.364, allocations: 35.73 kB / 418 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.3641, allocations: 13.47 kB / 418 MB, free: 9.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.3644, allocations: 222.1 kB / 418.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3644, allocations: 0 / 418.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007277/0.3651, allocations: 147.3 kB / 418.3 MB, free: 8.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001787/0.3653, allocations: 118.8 kB / 418.5 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.3664, allocations: 0.5219 MB / 419 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3665, allocations: 0 / 419 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.367, allocations: 360.8 kB / 419.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.3675, allocations: 77.09 kB / 419.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3694, allocations: 0.878 MB / 420.3 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.37, allocations: 0.8201 MB / 421.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.3702, allocations: 44.16 kB / 421.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.3703, allocations: 31.97 kB / 421.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3703, allocations: 0 / 421.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of Templates: time 0.0143/0.3846, allocations: 7.191 MB / 428.4 MB, free: 1.023 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/jenkins/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/jenkins/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: 4.967389778234065]