Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001757/0.001757, allocations: 106 kB / 21.18 MB, free: 0.6992 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.002179/0.002179, allocations: 179.9 kB / 24.46 MB, free: 4.062 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.6 MB / 235.2 MB, free: 10.02 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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [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.001746/0.001746, allocations: 51.92 kB / 347.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3161, allocations: 49.16 MB / 396.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007593/0.3237, allocations: 4.71 MB / 401.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.3272, allocations: 1.361 MB / 402.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.3278, allocations: 35.72 kB / 402.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009206/0.3287, allocations: 222.8 kB / 403.2 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.3299, allocations: 366.9 kB / 403.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.3305, allocations: 219.9 kB / 403.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.3324, allocations: 1.549 MB / 405.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000976/0.3334, allocations: 0.5263 MB / 405.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3345, allocations: 0.6477 MB / 406.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.3359, allocations: 0.7806 MB / 407.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.3362, allocations: 164.2 kB / 407.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.3366, allocations: 162.3 kB / 407.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005623/0.3372, allocations: 434.2 kB / 408 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000894/0.3381, allocations: 0.7242 MB / 408.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.3402, allocations: 2.088 MB / 410.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3402, allocations: 0 / 410.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3402, allocations: 5.062 kB / 410.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.3402, allocations: 0 / 410.8 MB, free: 1.137 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002886/0.3431, allocations: 1.865 MB / 412.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3431, allocations: 17.98 kB / 412.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.3434, allocations: 139.9 kB / 412.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.3447, allocations: 0.8204 MB / 413.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.3448, allocations: 75.66 kB / 413.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.3449, allocations: 96.08 kB / 413.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.3473, allocations: 1.433 MB / 415.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.3474, allocations: 1.031 kB / 415.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3475, allocations: 37.44 kB / 415.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.079e-05/0.3475, allocations: 46.92 kB / 415.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.3497, allocations: 1.288 MB / 416.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006398/0.356, allocations: 4.233 MB / 420.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.3577, allocations: 0.997 MB / 421.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.3589, allocations: 0.6825 MB / 422.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.359, allocations: 8.062 kB / 422.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/0.36, allocations: 0.6051 MB / 423.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.414e-06/0.36, allocations: 0 / 423.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.006762/0.3667, allocations: 2.627 MB / 425.8 MB, free: 6.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/0.3668, allocations: 123.5 kB / 425.9 MB, free: 6.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.368, allocations: 0.8246 MB / 426.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.368, allocations: 41.64 kB / 426.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/0.3685, allocations: 496.7 kB / 427.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.3688, allocations: 249.9 kB / 427.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.369, allocations: 138.6 kB / 427.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.3692, allocations: 398.7 kB / 428 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/0.3698, allocations: 389.7 kB / 428.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/0.3706, allocations: 0.5533 MB / 428.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.372, allocations: 0.9171 MB / 429.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.372, allocations: 0 / 429.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002159/0.3741, allocations: 1.294 MB / 431.1 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3741, allocations: 8 kB / 431.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3742, allocations: 4 kB / 431.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3752, allocations: 472.4 kB / 431.6 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.3756, allocations: 91.88 kB / 431.7 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007488/0.3831, allocations: 5.469 MB / 437.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/0.3838, allocations: 83.7 kB / 437.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.3839, allocations: 31.94 kB / 437.3 MB, free: 10.42 MB / 350.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0008234/0.3847, allocations: 463.2 kB / 437.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3848, allocations: 95.42 kB / 437.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3851, allocations: 104.6 kB / 437.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3851, allocations: 8 kB / 437.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3851, allocations: 0 / 437.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3851, allocations: 11.92 kB / 437.9 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/0.3894, allocations: 2.559 MB / 440.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3894, allocations: 0 / 440.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.3897, allocations: 59.91 kB / 440.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.3907, allocations: 456.7 kB / 441 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.3907, allocations: 19.98 kB / 441 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00764/0.3984, allocations: 5.444 MB / 446.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3984, allocations: 0 / 446.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/0.4016, allocations: 1.905 MB / 448.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.4023, allocations: 203.3 kB / 448.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4024, allocations: 16 kB / 448.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.4029, allocations: 43.95 kB / 448.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/0.4031, allocations: 80.44 kB / 448.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.4031, allocations: 23.98 kB / 448.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008888/0.404, allocations: 0.5849 MB / 449.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.404, allocations: 0 / 449.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4051, allocations: 343.3 kB / 449.7 MB, free: 13.82 MB / 366.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0002086/0.4054, allocations: 131 kB / 449.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.4076, allocations: 1.251 MB / 451 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4076, allocations: 3.938 kB / 451 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.409, allocations: 0.7975 MB / 451.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4102, allocations: 270.8 kB / 452.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.4151, allocations: 2.344 MB / 454.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.4164, allocations: 1.322 MB / 455.8 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004549/0.4168, allocations: 147.3 kB / 455.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.417, allocations: 55.44 kB / 456 MB, free: 7.41 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.417, allocations: 0 / 456 MB, free: 7.41 MB / 366.1 MB Notification: Performance of Templates: time 0.03637/0.4534, allocations: 20.52 MB / 476.5 MB, free: 2.852 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.184157703071833]