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.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.002025/0.002025, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002733/0.002733, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.651/1.651, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.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.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.001868/0.001868, allocations: 56.2 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2674, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.007661/0.275, allocations: 4.246 MB / 401.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.2788, allocations: 1.312 MB / 402.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006145/0.2794, allocations: 31.47 kB / 402.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.2802, allocations: 226.5 kB / 402.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.2813, allocations: 375.6 kB / 403 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.2819, allocations: 212.2 kB / 403.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.2837, allocations: 1.543 MB / 404.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009713/0.2847, allocations: 0.5048 MB / 405.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.2863, allocations: 0.6577 MB / 406 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.2883, allocations: 0.761 MB / 406.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003533/0.2886, allocations: 162.6 kB / 406.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.2891, allocations: 163.2 kB / 407 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004806/0.2895, allocations: 446 kB / 407.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.2902, allocations: 0.5801 MB / 408.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.2921, allocations: 2.1 MB / 410.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2921, allocations: 0 / 410.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2921, allocations: 0 / 410.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.456e-05/0.2921, allocations: 4 kB / 410.2 MB, free: 1.703 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.003484/0.2956, allocations: 1.861 MB / 412 MB, free: 412 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2956, allocations: 13.23 kB / 412 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.2959, allocations: 148.6 kB / 412.2 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.2974, allocations: 0.8287 MB / 413 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.2975, allocations: 75.09 kB / 413.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.2977, allocations: 97.81 kB / 413.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.3003, allocations: 1.479 MB / 414.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.3003, allocations: 5.219 kB / 414.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3004, allocations: 40.47 kB / 414.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-05/0.3005, allocations: 42.58 kB / 414.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.3027, allocations: 1.286 MB / 416 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006742/0.3094, allocations: 3.761 MB / 419.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.3111, allocations: 0.9974 MB / 420.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.3123, allocations: 0.6807 MB / 421.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.3124, allocations: 8.656 kB / 421.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3134, allocations: 0.6439 MB / 422.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.3134, allocations: 0 / 422.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007252/0.3207, allocations: 2.638 MB / 424.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.3208, allocations: 111.5 kB / 424.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.322, allocations: 0.7855 MB / 425.6 MB, free: 6.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/0.3221, allocations: 37.7 kB / 425.7 MB, free: 6.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.3225, allocations: 488.7 kB / 426.2 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.3228, allocations: 253.9 kB / 426.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.323, allocations: 138.6 kB / 426.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.3232, allocations: 402.6 kB / 426.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/0.3239, allocations: 393.7 kB / 427.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008565/0.3248, allocations: 0.5958 MB / 427.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.3262, allocations: 0.921 MB / 428.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3263, allocations: 0 / 428.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002221/0.3285, allocations: 1.286 MB / 430.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3285, allocations: 11.92 kB / 430.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.3285, allocations: 4 kB / 430.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.3297, allocations: 472.7 kB / 430.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.3301, allocations: 95.81 kB / 430.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007989/0.3381, allocations: 5.356 MB / 436.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.3387, allocations: 83.77 kB / 436.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.3388, allocations: 28 kB / 436.2 MB, free: 11.32 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.0007725/0.3396, allocations: 463.2 kB / 436.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3397, allocations: 99.36 kB / 436.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.3399, allocations: 104.3 kB / 436.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3399, allocations: 11.94 kB / 436.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.34, allocations: 4 kB / 436.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.34, allocations: 3.984 kB / 436.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.3444, allocations: 2.294 MB / 439.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.3444, allocations: 7.938 kB / 439.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.3448, allocations: 67.89 kB / 439.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.3458, allocations: 452.7 kB / 439.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.3459, allocations: 16 kB / 439.7 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007665/0.3535, allocations: 5.328 MB / 445 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3535, allocations: 4 kB / 445 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.3567, allocations: 1.897 MB / 446.9 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000786/0.3575, allocations: 195.3 kB / 447.1 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.3577, allocations: 16 kB / 447.1 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.3581, allocations: 43.95 kB / 447.1 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/0.3584, allocations: 84.58 kB / 447.2 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.3584, allocations: 16 kB / 447.2 MB, free: 56 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.3595, allocations: 0.5576 MB / 447.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3595, allocations: 3.938 kB / 447.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001362/0.3608, allocations: 359.1 kB / 448.1 MB, free: 15.15 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.00025/0.3611, allocations: 127 kB / 448.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002454/0.3635, allocations: 1.259 MB / 449.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3635, allocations: 0 / 449.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.365, allocations: 0.7859 MB / 450.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.3663, allocations: 258.8 kB / 450.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.3707, allocations: 2.336 MB / 452.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008865/0.3716, allocations: 0.7336 MB / 453.6 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.3721, allocations: 135 kB / 453.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3722, allocations: 55.42 kB / 453.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3722, allocations: 0 / 453.8 MB, free: 9.355 MB / 366.1 MB Notification: Performance of Templates: time 0.03342/0.4056, allocations: 19.73 MB / 473.6 MB, free: 5.586 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.497987782582641]