Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.001473/0.001473, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001085/0.001085, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9856/0.9856, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 3.938 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.532e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004278/0.004313, allocations: 3.728 MB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.006121, allocations: 1.067 MB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.006349, allocations: 19.88 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.006583, allocations: 111.1 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006665/0.00725, allocations: 258.3 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.007544, allocations: 155.6 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007804/0.008325, allocations: 1.008 MB / 279.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.008704, allocations: 343.4 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006169/0.009321, allocations: 0.6081 MB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005186/0.00984, allocations: 482.9 kB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.009943, allocations: 100 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.01008, allocations: 107.9 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.01026, allocations: 307 kB / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.01051, allocations: 323.3 kB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006473/0.01116, allocations: 0.7827 MB / 282.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01116, allocations: 0 / 282.3 MB, free: 8.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01116, allocations: 4 kB / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.01118, allocations: 3.984 kB / 282.3 MB, free: 8.008 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001591/0.01277, allocations: 1.52 MB / 283.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.0128, allocations: 15.98 kB / 283.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.0131, allocations: 168.3 kB / 284 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.01367, allocations: 0.5509 MB / 284.5 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.0137, allocations: 49.69 kB / 284.6 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.01377, allocations: 68.33 kB / 284.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.0145, allocations: 0.5798 MB / 285.2 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.01452, allocations: 3.938 kB / 285.2 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.01456, allocations: 28 kB / 285.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.0146, allocations: 33.3 kB / 285.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.01502, allocations: 243.6 kB / 285.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.01719, allocations: 2.405 MB / 288 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.01762, allocations: 296.1 kB / 288.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.01786, allocations: 144.2 kB / 288.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.01788, allocations: 8.328 kB / 288.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.01818, allocations: 262 kB / 288.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.01818, allocations: 0 / 288.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001235/0.01941, allocations: 0.6572 MB / 289.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.01946, allocations: 106.8 kB / 289.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.01986, allocations: 0.5299 MB / 289.9 MB, free: 60 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.01989, allocations: 37.7 kB / 290 MB, free: 16 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1115/0.1314, allocations: 422.3 kB / 290.4 MB, free: 25.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1316, allocations: 144 kB / 290.5 MB, free: 25.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.1317, allocations: 103.9 kB / 290.6 MB, free: 25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1318, allocations: 0.5486 MB / 291.2 MB, free: 24.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1319, allocations: 61.08 kB / 291.2 MB, free: 24.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.1321, allocations: 282.7 kB / 291.5 MB, free: 24.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.1324, allocations: 348 kB / 291.9 MB, free: 24.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1324, allocations: 2.062 kB / 291.9 MB, free: 24.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006482/0.1331, allocations: 429.2 kB / 292.3 MB, free: 23.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1331, allocations: 7.797 kB / 292.3 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.1331, allocations: 5.219 kB / 292.3 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002985/0.1334, allocations: 101.3 kB / 292.4 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.1336, allocations: 80.55 kB / 292.5 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.1351, allocations: 2.546 MB / 295 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.1353, allocations: 48.86 kB / 295.1 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.1353, allocations: 19.42 kB / 295.1 MB, free: 21.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.1355, allocations: 191.9 kB / 295.3 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.1355, allocations: 77.03 kB / 295.3 MB, free: 21.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.058e-05/0.1356, allocations: 67.02 kB / 295.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1356, allocations: 5.828 kB / 295.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1356, allocations: 1.469 kB / 295.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1356, allocations: 3 kB / 295.4 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.1368, allocations: 1.172 MB / 296.6 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1368, allocations: 1.75 kB / 296.6 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.1369, allocations: 51.38 kB / 296.6 MB, free: 21.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002056/0.1371, allocations: 98.28 kB / 296.7 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1371, allocations: 8.047 kB / 296.7 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.1384, allocations: 2.532 MB / 299.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1384, allocations: 1.031 kB / 299.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.139, allocations: 0.5829 MB / 299.9 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.1391, allocations: 109.8 kB / 300 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.1392, allocations: 16.02 kB / 300 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1393, allocations: 20.73 kB / 300 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1395, allocations: 52.28 kB / 300.1 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.1395, allocations: 14.94 kB / 300.1 MB, free: 19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003185/0.1398, allocations: 341.1 kB / 300.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1398, allocations: 0 / 300.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000637/0.1404, allocations: 213.6 kB / 300.6 MB, free: 18.78 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.1406, allocations: 118.3 kB / 300.7 MB, free: 18.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007256/0.1413, allocations: 0.4973 MB / 301.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1413, allocations: 0 / 301.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.1416, allocations: 386.7 kB / 301.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1421, allocations: 143.7 kB / 301.7 MB, free: 18.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1438, allocations: 1.273 MB / 303 MB, free: 17.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.144, allocations: 249.6 kB / 303.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.1442, allocations: 77.02 kB / 303.3 MB, free: 17.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.1443, allocations: 39.7 kB / 303.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1443, allocations: 0 / 303.4 MB, free: 17.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01207/0.1564, allocations: 10.16 MB / 313.5 MB, free: 11.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.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.895891861990094]