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.0009359/0.0009359, allocations: 85.08 kB / 23 MB, free: 1.5 MB / 18.57 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.001028/0.001028, allocations: 173.2 kB / 26.39 MB, free: 7.996 MB / 18.57 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 0.9844/0.9844, allocations: 158.6 MB / 188.3 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.237e-05, allocations: 6.25 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004884/0.004917, allocations: 4.562 MB / 256.8 MB, free: 2.633 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.007446, allocations: 1.329 MB / 258.2 MB, free: 1.293 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004391/0.007885, allocations: 31.75 kB / 258.2 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.008458, allocations: 222.3 kB / 258.4 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008139/0.009272, allocations: 381.5 kB / 258.8 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.009697, allocations: 219.5 kB / 259 MB, free: 464 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.0112, allocations: 1.591 MB / 260.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006542/0.01185, allocations: 0.5041 MB / 261.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.01322, allocations: 0.9552 MB / 262.1 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.01428, allocations: 0.7443 MB / 262.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.01454, allocations: 160 kB / 263 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.01479, allocations: 164 kB / 263.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.01511, allocations: 466.7 kB / 263.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008285/0.01594, allocations: 0.4951 MB / 264.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.01713, allocations: 1.211 MB / 265.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.01714, allocations: 0 / 265.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01714, allocations: 0 / 265.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.695e-05/0.01717, allocations: 4 kB / 265.3 MB, free: 10.14 MB / 250.7 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.002491/0.01967, allocations: 2.086 MB / 267.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.0197, allocations: 15.98 kB / 267.4 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.01997, allocations: 224 kB / 267.6 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.02085, allocations: 0.7019 MB / 268.3 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/0.02092, allocations: 74.38 kB / 268.4 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.02106, allocations: 92.38 kB / 268.5 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.02211, allocations: 0.8056 MB / 269.3 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.02214, allocations: 7.875 kB / 269.3 MB, free: 6 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-05/0.02221, allocations: 39.98 kB / 269.3 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/0.02227, allocations: 46 kB / 269.4 MB, free: 5.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.02273, allocations: 281.7 kB / 269.6 MB, free: 5.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.0265, allocations: 3.346 MB / 273 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.02713, allocations: 0.5523 MB / 273.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.02756, allocations: 336.8 kB / 273.9 MB, free: 1.324 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.0276, allocations: 12.66 kB / 273.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.02801, allocations: 377.6 kB / 274.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=75): time 2.845e-06/0.02802, allocations: 3.938 kB / 274.3 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of matching and sorting (n=75): time 0.002895/0.03091, allocations: 1.376 MB / 275.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.03097, allocations: 115.4 kB / 275.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.03165, allocations: 0.671 MB / 276.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.03171, allocations: 41.7 kB / 276.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.03214, allocations: 0.5502 MB / 277 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.03236, allocations: 261.8 kB / 277.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.03258, allocations: 144.2 kB / 277.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002799/0.03286, allocations: 0.5975 MB / 278 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.03305, allocations: 81.92 kB / 278.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/0.03372, allocations: 356 kB / 278.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.03424, allocations: 407.5 kB / 278.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.03425, allocations: 4 kB / 278.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007702/0.03502, allocations: 0.5821 MB / 279.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.03504, allocations: 8 kB / 279.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.03505, allocations: 4 kB / 279.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004552/0.0355, allocations: 219.4 kB / 279.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.03572, allocations: 95.83 kB / 279.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.0387, allocations: 3.576 MB / 283.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.039, allocations: 63.69 kB / 283.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.03903, allocations: 23.98 kB / 283.4 MB, free: 7.379 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,$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.0003013/0.03933, allocations: 218.4 kB / 283.6 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.03944, allocations: 111.4 kB / 283.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.03955, allocations: 100.2 kB / 283.8 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.03955, allocations: 8 kB / 283.8 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.03955, allocations: 0 / 283.8 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.03956, allocations: 3.984 kB / 283.8 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.04119, allocations: 1.36 MB / 285.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.04119, allocations: 0 / 285.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.04135, allocations: 59.91 kB / 285.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006881/0.04204, allocations: 211.3 kB / 285.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.04207, allocations: 15.98 kB / 285.5 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.04484, allocations: 3.545 MB / 289 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.04484, allocations: 0 / 289 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.04573, allocations: 0.7841 MB / 289.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.04596, allocations: 171.2 kB / 290 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.04602, allocations: 16 kB / 290 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.0462, allocations: 19.98 kB / 290 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.0463, allocations: 68.47 kB / 290.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.04633, allocations: 23.98 kB / 290.1 MB, free: 492 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002891/0.04662, allocations: 406.8 kB / 290.5 MB, free: 92 kB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04662, allocations: 0 / 290.5 MB, free: 92 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.000738/0.04736, allocations: 351.3 kB / 290.8 MB, free: 15.74 MB / 282.7 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.0001679/0.04753, allocations: 123.1 kB / 290.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009028/0.04843, allocations: 0.7586 MB / 291.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.04843, allocations: 0 / 291.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.04897, allocations: 0.6021 MB / 292.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.04987, allocations: 262.8 kB / 292.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.05245, allocations: 1.95 MB / 294.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.05274, allocations: 375.9 kB / 294.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.05297, allocations: 79.08 kB / 295 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.05335, allocations: 306 kB / 295.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.654e-06/0.05335, allocations: 0 / 295.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of Templates: time 0.02312/0.07647, allocations: 19.91 MB / 315.2 MB, free: 7.297 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.174533609766513]