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.001447/0.001447, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001521/0.001521, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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 1.505/1.505, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.382e-06/1.382e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.349e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006495/0.006518, allocations: 4.345 MB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.009469, allocations: 1.343 MB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.009769, allocations: 39.69 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006935/0.01046, allocations: 230.3 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008956/0.01136, allocations: 373.5 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.01186, allocations: 235.5 kB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.01373, allocations: 1.603 MB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008942/0.01463, allocations: 0.5476 MB / 280.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.01595, allocations: 0.9707 MB / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.01704, allocations: 0.7014 MB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.01729, allocations: 164 kB / 282.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.0176, allocations: 172 kB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000476/0.01807, allocations: 462.7 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006492/0.01872, allocations: 0.4989 MB / 283.9 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.02129, allocations: 2.146 MB / 286 MB, free: 3.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.0213, allocations: 3.938 kB / 286 MB, free: 3.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0213, allocations: 3.938 kB / 286 MB, free: 3.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.02132, allocations: 0 / 286 MB, free: 3.887 MB / 266.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.00362/0.02494, allocations: 1.88 MB / 287.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.02499, allocations: 19.92 kB / 287.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.02568, allocations: 256 kB / 288.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.02736, allocations: 0.9431 MB / 289.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/0.02744, allocations: 74.38 kB / 289.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.02762, allocations: 100.4 kB / 289.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1225/0.1501, allocations: 1.486 MB / 290.8 MB, free: 27.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.1502, allocations: 3.391 kB / 290.8 MB, free: 27.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.1503, allocations: 42.53 kB / 290.8 MB, free: 27.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.1503, allocations: 41.5 kB / 290.9 MB, free: 27.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.1524, allocations: 1.295 MB / 292.2 MB, free: 27.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005559/0.1579, allocations: 3.828 MB / 296 MB, free: 25.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.1594, allocations: 0.9857 MB / 297 MB, free: 24.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.1606, allocations: 0.6819 MB / 297.7 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.866e-05/0.1606, allocations: 16.06 kB / 297.7 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008827/0.1615, allocations: 0.6396 MB / 298.3 MB, free: 24.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.827e-06/0.1615, allocations: 0 / 298.3 MB, free: 24.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.006887/0.1684, allocations: 2.785 MB / 301.1 MB, free: 23.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1685, allocations: 117.1 kB / 301.2 MB, free: 23.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.1695, allocations: 0.8013 MB / 302 MB, free: 22.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.1696, allocations: 37.58 kB / 302 MB, free: 22.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.1699, allocations: 0.4996 MB / 302.5 MB, free: 22.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.1701, allocations: 247.6 kB / 302.8 MB, free: 22.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.1703, allocations: 136.9 kB / 302.9 MB, free: 21.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1704, allocations: 402 kB / 303.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005702/0.171, allocations: 394.9 kB / 303.7 MB, free: 21.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.1716, allocations: 0.5977 MB / 304.3 MB, free: 20.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1726, allocations: 0.9139 MB / 305.2 MB, free: 20.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1726, allocations: 4.922 kB / 305.2 MB, free: 20.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001681/0.1743, allocations: 1.322 MB / 306.5 MB, free: 19.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1743, allocations: 8.031 kB / 306.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.1743, allocations: 4 kB / 306.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009113/0.1752, allocations: 469.8 kB / 307 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.1756, allocations: 95.83 kB / 307.1 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.181, allocations: 5.411 MB / 312.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.1816, allocations: 80.2 kB / 312.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.1816, allocations: 24 kB / 312.6 MB, free: 13.1 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_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.0006183/0.1822, allocations: 472.5 kB / 313.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.1824, allocations: 119.4 kB / 313.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.1826, allocations: 116.4 kB / 313.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1826, allocations: 8 kB / 313.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1826, allocations: 0 / 313.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1826, allocations: 3.984 kB / 313.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.1858, allocations: 2.3 MB / 315.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1858, allocations: 0 / 315.6 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.186, allocations: 59.91 kB / 315.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008124/0.1869, allocations: 464.2 kB / 316.1 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.1869, allocations: 12 kB / 316.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005149/0.192, allocations: 5.35 MB / 321.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.192, allocations: 0 / 321.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.1942, allocations: 1.92 MB / 323.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.1946, allocations: 203.3 kB / 323.6 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1947, allocations: 16 kB / 323.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.1951, allocations: 43.89 kB / 323.7 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.1953, allocations: 80.5 kB / 323.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.1953, allocations: 19.17 kB / 323.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005885/0.1959, allocations: 0.5771 MB / 324.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1959, allocations: 4 kB / 324.3 MB, free: 1.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000976/0.1969, allocations: 355.2 kB / 324.7 MB, free: 0.8867 MB / 266.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_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.0001759/0.1971, allocations: 123.2 kB / 324.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1991, allocations: 1.245 MB / 326.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1991, allocations: 0 / 326.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.2005, allocations: 0.8026 MB / 326.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.2016, allocations: 265.6 kB / 327.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.2065, allocations: 2.371 MB / 329.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/0.2075, allocations: 0.7342 MB / 330.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004445/0.2079, allocations: 151.1 kB / 330.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.2081, allocations: 56.5 kB / 330.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2081, allocations: 0 / 330.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of Templates: time 0.03388/0.242, allocations: 18.54 MB / 349 MB, free: 8.852 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.03085496800486]