Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.0009255/0.0009255, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001112/0.001112, allocations: 165.6 kB / 24.91 MB, free: 8.77 MB / 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.956/0.956, allocations: 177 MB / 205.2 MB, free: 5.449 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.306e-05, allocations: 5.266 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003508/0.003531, allocations: 3.439 MB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.005173, allocations: 0.946 MB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.005374, allocations: 11.94 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.005574, allocations: 63.36 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.005895, allocations: 142.7 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.006282, allocations: 159.7 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.006742, allocations: 0.5445 MB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.006943, allocations: 130.9 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003551/0.007298, allocations: 307.3 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.007519, allocations: 171.4 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.007571, allocations: 48 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.007655, allocations: 56 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.007732, allocations: 103.6 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.007859, allocations: 159.6 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.008249, allocations: 362.6 kB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.008253, allocations: 0 / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008255, allocations: 0 / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.008262, allocations: 0 / 280 MB, free: 10.56 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007886/0.00905, allocations: 0.6527 MB / 280.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.009086, allocations: 11.98 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.009255, allocations: 76.88 kB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.009542, allocations: 241.6 kB / 281 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.009563, allocations: 33.38 kB / 281 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.009606, allocations: 40.31 kB / 281.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.009906, allocations: 326.8 kB / 281.4 MB, free: 9.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.009921, allocations: 4.172 kB / 281.4 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.009943, allocations: 16.12 kB / 281.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.009952, allocations: 11.98 kB / 281.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.01008, allocations: 94.89 kB / 281.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01115, allocations: 1.06 MB / 282.6 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.01133, allocations: 147.2 kB / 282.7 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.01146, allocations: 97.27 kB / 282.8 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.01148, allocations: 4.234 kB / 282.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.01167, allocations: 203.7 kB / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.302e-06/0.01167, allocations: 0 / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.000607/0.01227, allocations: 314.2 kB / 283.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.01233, allocations: 122.7 kB / 283.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.0125, allocations: 278.8 kB / 283.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.01253, allocations: 37.69 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.01262, allocations: 205.3 kB / 283.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.01268, allocations: 103.1 kB / 284 MB, free: 6.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.01276, allocations: 74.03 kB / 284.1 MB, free: 6.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.01285, allocations: 346.7 kB / 284.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.01289, allocations: 32.73 kB / 284.5 MB, free: 5.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.01302, allocations: 187.2 kB / 284.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.0132, allocations: 235 kB / 284.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0132, allocations: 0 / 284.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002635/0.01347, allocations: 247.4 kB / 285.1 MB, free: 5.043 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.01348, allocations: 7.938 kB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.01349, allocations: 8.5 kB / 285.2 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.01364, allocations: 72.67 kB / 285.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01376, allocations: 55.91 kB / 285.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009933/0.01476, allocations: 1.548 MB / 286.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01488, allocations: 43.75 kB / 286.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.01489, allocations: 15.94 kB / 286.9 MB, free: 3.211 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: 11 (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.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.01501, allocations: 140.6 kB / 287 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.01505, allocations: 31.97 kB / 287.1 MB, free: 3.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.01508, allocations: 35.86 kB / 287.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01509, allocations: 4 kB / 287.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01509, allocations: 0 / 287.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.0151, allocations: 7.938 kB / 287.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.0154, allocations: 323.4 kB / 287.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.0154, allocations: 0 / 287.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.01548, allocations: 35.91 kB / 287.4 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.01558, allocations: 56.83 kB / 287.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.0156, allocations: 8 kB / 287.5 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008311/0.01643, allocations: 1.56 MB / 289.1 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01643, allocations: 0 / 289.1 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.01673, allocations: 264.6 kB / 289.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.0168, allocations: 47.62 kB / 289.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.01682, allocations: 7.938 kB / 289.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.0169, allocations: 12 kB / 289.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.01695, allocations: 31.97 kB / 289.4 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01697, allocations: 8 kB / 289.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.057e-05/0.01705, allocations: 104.6 kB / 289.5 MB, free: 408 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01705, allocations: 0 / 289.5 MB, free: 408 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.01735, allocations: 115.8 kB / 289.6 MB, free: 292 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.01747, allocations: 100.5 kB / 289.7 MB, free: 184 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.01783, allocations: 314.7 kB / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.01784, allocations: 4 kB / 290.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.01801, allocations: 239.2 kB / 290.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.01819, allocations: 58 kB / 290.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.01917, allocations: 0.6844 MB / 291 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.532e-05/0.01924, allocations: 116.6 kB / 291.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.559e-05/0.01932, allocations: 30.97 kB / 291.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.01943, allocations: 103.3 kB / 291.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01943, allocations: 0 / 291.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of Templates: time 0.007051/0.02648, allocations: 4.893 MB / 296.2 MB, free: 9.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.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.6633973666466773]