Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.367/1.367, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.08 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2328, allocations: 53.32 MB / 432.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006317/0.2391, allocations: 4.8 MB / 436.9 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.2417, allocations: 1.383 MB / 438.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.2421, allocations: 31.81 kB / 438.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.2427, allocations: 222.4 kB / 438.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007743/0.2435, allocations: 369.9 kB / 438.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.2439, allocations: 227.6 kB / 439.1 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.2456, allocations: 1.537 MB / 440.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.2464, allocations: 0.5665 MB / 441.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007943/0.2472, allocations: 0.6502 MB / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.2482, allocations: 0.7861 MB / 442.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.2484, allocations: 164 kB / 442.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.2487, allocations: 172 kB / 443 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.2491, allocations: 438.8 kB / 443.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007464/0.2498, allocations: 0.7388 MB / 444.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.2519, allocations: 2.104 MB / 446.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2519, allocations: 11.86 kB / 446.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2519, allocations: 0 / 446.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.2519, allocations: 0 / 446.2 MB, free: 9.105 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.003392/0.2553, allocations: 1.975 MB / 448.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2553, allocations: 8.031 kB / 448.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004928/0.2558, allocations: 172 kB / 448.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.2575, allocations: 0.9742 MB / 449.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.2575, allocations: 74.38 kB / 449.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.2577, allocations: 104.1 kB / 449.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.26, allocations: 1.447 MB / 451 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.2601, allocations: 3.984 kB / 451 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.2602, allocations: 44 kB / 451 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.2602, allocations: 41.98 kB / 451.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.2624, allocations: 1.3 MB / 452.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006494/0.2689, allocations: 4.298 MB / 456.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.2709, allocations: 1.9 MB / 458.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.2721, allocations: 0.685 MB / 459.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.2722, allocations: 4.656 kB / 459.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009386/0.2731, allocations: 0.5937 MB / 459.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.294e-06/0.2731, allocations: 4 kB / 459.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.007253/0.2804, allocations: 2.832 MB / 462.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.2804, allocations: 111.5 kB / 462.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.2816, allocations: 0.8481 MB / 463.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.2817, allocations: 41.7 kB / 463.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.2821, allocations: 0.493 MB / 464.2 MB, free: 6.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.2823, allocations: 257.8 kB / 464.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.2826, allocations: 142.6 kB / 464.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2827, allocations: 334 kB / 464.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.2833, allocations: 389.7 kB / 465.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.2841, allocations: 0.5493 MB / 465.8 MB, free: 4.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2854, allocations: 0.9114 MB / 466.7 MB, free: 3.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2854, allocations: 3.938 kB / 466.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002117/0.2876, allocations: 1.296 MB / 468 MB, free: 2.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2876, allocations: 4 kB / 468 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2876, allocations: 4 kB / 468 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.2887, allocations: 473.3 kB / 468.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.289, allocations: 91.83 kB / 468.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007465/0.2965, allocations: 5.591 MB / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.2971, allocations: 87.58 kB / 474.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.2972, allocations: 28 kB / 474.3 MB, free: 12.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.0007052/0.2979, allocations: 463.1 kB / 474.8 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.298, allocations: 99.38 kB / 474.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.2982, allocations: 116.7 kB / 475 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.2982, allocations: 8.125 kB / 475 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.2983, allocations: 4 kB / 475 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2983, allocations: 3.984 kB / 475 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.3024, allocations: 2.583 MB / 477.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3024, allocations: 7.984 kB / 477.6 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.3027, allocations: 59.91 kB / 477.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009753/0.3037, allocations: 452.5 kB / 478.1 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.3038, allocations: 15.98 kB / 478.1 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007309/0.3111, allocations: 5.513 MB / 483.6 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.3111, allocations: 7.938 kB / 483.6 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/0.314, allocations: 1.902 MB / 485.5 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.3146, allocations: 276.4 kB / 485.8 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3147, allocations: 15.98 kB / 485.8 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.3151, allocations: 44.08 kB / 485.8 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.3153, allocations: 72.55 kB / 485.9 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.3153, allocations: 28 kB / 485.9 MB, free: 316 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008237/0.3161, allocations: 0.6005 MB / 486.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3161, allocations: 0 / 486.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009803/0.3171, allocations: 355.2 kB / 486.9 MB, free: 15.36 MB / 398.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.0001971/0.3173, allocations: 131.2 kB / 487 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.3195, allocations: 1.255 MB / 488.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3195, allocations: 4.312 kB / 488.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.3208, allocations: 0.7811 MB / 489.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3219, allocations: 278.5 kB / 489.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.326, allocations: 2.391 MB / 491.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.327, allocations: 1.307 MB / 493 MB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.3272, allocations: 63.42 kB / 493.1 MB, free: 9.07 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3272, allocations: 0 / 493.1 MB, free: 9.07 MB / 398.1 MB Notification: Performance of Templates: time 0.02809/0.3552, allocations: 20.98 MB / 0.502 GB, free: 4.176 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.96625034417957]