Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0007554/0.0007554, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009473/0.001703, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00075/0.00075, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008418/0.001592, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9955/0.9955, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09055/1.086, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.42e-05, allocations: 2.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006434/0.006459, allocations: 4.716 MB / 249.8 MB, free: 8.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.008912, allocations: 1.421 MB / 251.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.00923, allocations: 39.69 kB / 251.2 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.009643, allocations: 222.4 kB / 251.4 MB, free: 7.195 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006393/0.01028, allocations: 389.5 kB / 251.8 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.01062, allocations: 227.5 kB / 252 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009991/0.01162, allocations: 1.615 MB / 253.6 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.01213, allocations: 0.5594 MB / 254.2 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008424/0.01297, allocations: 1.071 MB / 255.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.0136, allocations: 0.7404 MB / 256 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.01374, allocations: 168 kB / 256.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.01394, allocations: 164 kB / 256.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.01418, allocations: 379 kB / 256.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.01452, allocations: 431.2 kB / 257.1 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008514/0.01537, allocations: 1.137 MB / 258.3 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.01539, allocations: 3.984 kB / 258.3 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01539, allocations: 0 / 258.3 MB, free: 296 kB / 250.7 MB Notification: Performance of Transformations before backend: time 2.337e-05/0.01541, allocations: 3.938 kB / 258.3 MB, free: 292 kB / 250.7 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.001722/0.01713, allocations: 1.752 MB / 260 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.01716, allocations: 8.625 kB / 260 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003442/0.01751, allocations: 273.9 kB / 260.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006535/0.01816, allocations: 0.6106 MB / 260.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.0182, allocations: 74.38 kB / 261 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/0.01829, allocations: 100.3 kB / 261.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000794/0.01909, allocations: 0.8214 MB / 261.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.01911, allocations: 3.938 kB / 261.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.01917, allocations: 36 kB / 261.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/0.01921, allocations: 53.98 kB / 262 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.01958, allocations: 249.7 kB / 262.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.02202, allocations: 2.562 MB / 264.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.02255, allocations: 0.4922 MB / 265.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.02292, allocations: 310.1 kB / 265.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.02296, allocations: 12.64 kB / 265.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.02329, allocations: 351.5 kB / 266 MB, free: 8.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.485e-06/0.0233, allocations: 0 / 266 MB, free: 8.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002594/0.02589, allocations: 1.281 MB / 267.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.02593, allocations: 64.05 kB / 267.3 MB, free: 6.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.02631, allocations: 0.5507 MB / 267.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.02635, allocations: 37.7 kB / 267.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.02655, allocations: 414.6 kB / 268.3 MB, free: 5.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.02667, allocations: 245.9 kB / 268.5 MB, free: 5.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.02679, allocations: 130.6 kB / 268.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.02691, allocations: 398.5 kB / 269 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.02702, allocations: 69.97 kB / 269.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.02721, allocations: 282.2 kB / 269.4 MB, free: 4.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.02754, allocations: 354.2 kB / 269.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02754, allocations: 4 kB / 269.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005233/0.02807, allocations: 457.6 kB / 270.2 MB, free: 3.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.02808, allocations: 12.41 kB / 270.2 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.02809, allocations: 8 kB / 270.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.02851, allocations: 197.4 kB / 270.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.02873, allocations: 111.8 kB / 270.5 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002514/0.03124, allocations: 2.789 MB / 273.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.03148, allocations: 59.61 kB / 273.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.03151, allocations: 20 kB / 273.4 MB, free: 0.6484 MB / 266.7 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_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: 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.0002446/0.03176, allocations: 166.5 kB / 273.5 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.03185, allocations: 79.92 kB / 273.6 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.03196, allocations: 104.4 kB / 273.7 MB, free: 292 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.03197, allocations: 15.92 kB / 273.7 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.03197, allocations: 0 / 273.7 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.03198, allocations: 0 / 273.7 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.03331, allocations: 1.052 MB / 274.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03332, allocations: 0 / 274.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.03348, allocations: 67.91 kB / 274.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.03365, allocations: 123.3 kB / 275 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003861/0.03403, allocations: 211.7 kB / 275.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.03406, allocations: 19.94 kB / 275.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.0364, allocations: 2.76 MB / 278 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.0364, allocations: 0 / 278 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.03708, allocations: 0.6296 MB / 278.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.03714, allocations: 19.98 kB / 278.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.03731, allocations: 23.98 kB / 278.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.03741, allocations: 64.53 kB / 278.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.03743, allocations: 12 kB / 278.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.03764, allocations: 272.5 kB / 279 MB, free: 10.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03764, allocations: 0 / 279 MB, free: 10.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.03824, allocations: 347.2 kB / 279.3 MB, free: 10.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001396/0.03838, allocations: 112.3 kB / 279.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007443/0.03913, allocations: 0.6714 MB / 280.1 MB, free: 9.734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/0.03915, allocations: 15.94 kB / 280.1 MB, free: 9.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.03959, allocations: 0.5096 MB / 280.6 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.04016, allocations: 326.8 kB / 280.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.04592, allocations: 2.08 MB / 283 MB, free: 6.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.04618, allocations: 324 kB / 283.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.04639, allocations: 87.14 kB / 283.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.04676, allocations: 257.1 kB / 283.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.04676, allocations: 0 / 283.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of Templates: time 0.1144/0.1612, allocations: 20.54 MB / 304.2 MB, free: 27.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.87445536442101]