Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001426/0.001426, 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.001572/0.001572, 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.447/1.447, allocations: 177 MB / 204.5 MB, free: 5.621 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.681e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006927/0.006953, allocations: 4.193 MB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.009916, allocations: 1.289 MB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005114/0.01043, allocations: 35.75 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.01096, allocations: 174.6 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.01222, allocations: 377.5 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.01279, allocations: 223.5 kB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.01502, allocations: 1.692 MB / 280.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.01608, allocations: 0.5638 MB / 280.8 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.01796, allocations: 1.033 MB / 281.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.0196, allocations: 0.7872 MB / 282.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004532/0.02005, allocations: 176 kB / 282.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.02062, allocations: 188 kB / 282.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007274/0.02135, allocations: 0.4946 MB / 283.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.02237, allocations: 0.5378 MB / 284 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.02509, allocations: 2.329 MB / 286.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.02509, allocations: 0 / 286.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.02509, allocations: 0 / 286.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.485e-05/0.02513, allocations: 0 / 286.3 MB, free: 3.621 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003996/0.02912, allocations: 2.041 MB / 288.3 MB, free: 1.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.02917, allocations: 15.98 kB / 288.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009525/0.03012, allocations: 295.9 kB / 288.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.03206, allocations: 1.009 MB / 289.7 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.03215, allocations: 86.3 kB / 289.7 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1181/0.1502, allocations: 104.7 kB / 289.8 MB, free: 27.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.1531, allocations: 1.575 MB / 291.4 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.1531, allocations: 3.891 kB / 291.4 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1532, allocations: 41.77 kB / 291.5 MB, free: 27.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.564e-05/0.1533, allocations: 48.77 kB / 291.5 MB, free: 27.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.1556, allocations: 1.43 MB / 292.9 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006383/0.162, allocations: 4.378 MB / 297.3 MB, free: 24.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1634, allocations: 0.9223 MB / 298.2 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.1646, allocations: 0.6879 MB / 298.9 MB, free: 23.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.1647, allocations: 16.09 kB / 298.9 MB, free: 23.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009439/0.1656, allocations: 0.6379 MB / 299.6 MB, free: 23.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/0.1656, allocations: 6.391 kB / 299.6 MB, free: 23.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.005523/0.1711, allocations: 2.368 MB / 302 MB, free: 22.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.1712, allocations: 95.08 kB / 302 MB, free: 22.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.1723, allocations: 0.9269 MB / 303 MB, free: 21.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.1724, allocations: 41.42 kB / 303 MB, free: 21.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.1727, allocations: 0.544 MB / 303.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.1729, allocations: 247.6 kB / 303.8 MB, free: 21.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.1731, allocations: 127.3 kB / 303.9 MB, free: 21.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.1731, allocations: 333.6 kB / 304.3 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.1737, allocations: 415.4 kB / 304.7 MB, free: 20.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.1743, allocations: 0.5706 MB / 305.2 MB, free: 20.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.1754, allocations: 0.9596 MB / 306.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1754, allocations: 0 / 306.2 MB, free: 19.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001733/0.1772, allocations: 1.314 MB / 307.5 MB, free: 18.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1772, allocations: 8 kB / 307.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1772, allocations: 4.469 kB / 307.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008094/0.178, allocations: 410.9 kB / 307.9 MB, free: 17.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.1784, allocations: 110.9 kB / 308 MB, free: 17.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.1826, allocations: 4.336 MB / 312.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.1831, allocations: 79.78 kB / 312.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.1831, allocations: 24 kB / 312.5 MB, free: 13.02 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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006147/0.1838, allocations: 0.4937 MB / 313 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.1839, allocations: 125.6 kB / 313.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.1841, allocations: 120.5 kB / 313.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1841, allocations: 8 kB / 313.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1841, allocations: 0 / 313.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1841, allocations: 3.984 kB / 313.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.187, allocations: 2.274 MB / 315.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.187, allocations: 0 / 315.5 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.1874, allocations: 86.81 kB / 315.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006722/0.1881, allocations: 388.4 kB / 315.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.1881, allocations: 15.98 kB / 316 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.1921, allocations: 4.324 MB / 320.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1921, allocations: 0 / 320.3 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.1944, allocations: 1.972 MB / 322.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.1948, allocations: 215.8 kB / 322.5 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.1949, allocations: 15.98 kB / 322.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.1953, allocations: 43.95 kB / 322.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.1954, allocations: 80.5 kB / 322.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.1955, allocations: 19.83 kB / 322.6 MB, free: 2.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000673/0.1962, allocations: 0.6747 MB / 323.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1962, allocations: 0 / 323.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001077/0.1972, allocations: 355.7 kB / 323.6 MB, free: 1.738 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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.1975, allocations: 129.3 kB / 323.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.1995, allocations: 1.251 MB / 325 MB, free: 344 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/0.1995, allocations: 0.875 kB / 325 MB, free: 344 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.2008, allocations: 0.7803 MB / 325.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.202, allocations: 252.1 kB / 326 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.2079, allocations: 2.686 MB / 328.7 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.2093, allocations: 0.8025 MB / 329.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005926/0.2098, allocations: 166.1 kB / 329.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.2101, allocations: 64.48 kB / 329.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2101, allocations: 0 / 329.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of Templates: time 0.03578/0.2459, allocations: 17.41 MB / 347.2 MB, free: 10.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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: 4.887232600944117]